fix(moment): use timezone from Hexo config instead of maching settings #1959
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Linter | |
| on: | |
| push: | |
| branches: | |
| - "master" | |
| paths: | |
| - "lib/**" | |
| - "test/**" | |
| - ".github/workflows/linter.yml" | |
| pull_request: | |
| paths: | |
| - "lib/**" | |
| - "test/**" | |
| - ".github/workflows/linter.yml" | |
| permissions: | |
| contents: read | |
| jobs: | |
| linter: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Use Node.js 22 | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "22" | |
| - name: Install Dependencies | |
| run: npm install | |
| - name: Lint | |
| run: | | |
| npm run eslint | |
| env: | |
| CI: true |