diff --git a/.eslintrc.json b/.eslintrc.json index 4583a16..6029233 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -5,7 +5,7 @@ "node": true, "mocha": true }, - "extends": "google", + "extends": ["eslint:recommended", "google"], "parserOptions": { "ecmaVersion": 12 }, diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5c5dc5d..fe425d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,15 +9,12 @@ on: jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [14.x] steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} + node-version: '16' + cache: 'npm' - run: npm ci - run: npm run lint - - run: npm test + - run: npm test \ No newline at end of file diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 350f453..81e0c55 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -6,10 +6,11 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: 14.x + node-version: '16' + cache: 'npm' - name: Coverage run: |