Update eslint-config package version to 2.0.0 #139
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: Unit test | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| lint-and-test: | |
| name: Lint and test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Use Node.js 20.11.x | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20.11.x" | |
| - name: Install npm 10 | |
| run: npm i -g npm@10 --registry=https://registry.npmjs.org | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Lint | |
| run: npm run lint | |
| - name: Test | |
| run: npm test |