diff options
Diffstat (limited to '.github/workflows/js.yml')
| -rw-r--r-- | .github/workflows/js.yml | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index 0a4fe259a..266b1576d 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - node: [10, 12, 14] + node: [12, 14, 16] steps: - name: Clone repository @@ -27,14 +27,7 @@ jobs: uses: actions/setup-node@v2 with: node-version: ${{ matrix.node }} - - - name: Set up npm cache - uses: actions/cache@v2 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }} + cache: npm - name: Install npm dependencies run: npm ci @@ -46,7 +39,7 @@ jobs: run: npm run js-test - name: Run Coveralls - uses: coverallsapp/[email protected] + uses: coverallsapp/[email protected] if: matrix.node == 14 with: github-token: "${{ secrets.GITHUB_TOKEN }}" |
