We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba18dcd commit f84b430Copy full SHA for f84b430
.github/workflows/pull-request.yml
@@ -3,9 +3,6 @@ on:
3
pull_request:
4
types: [opened, reopened, synchronize]
5
6
-env:
7
- NPM_VERSION: latest
8
-
9
jobs:
10
test:
11
runs-on: ubuntu-latest
@@ -22,13 +19,9 @@ jobs:
22
19
uses: actions/setup-node@v3
23
20
with:
24
21
node-version: ${{ matrix.node }}
25
- - name: Install latest npm
26
- run: |
27
- npm install -g npm@$NPM_VERSION &&
28
- npm --version &&
29
- npm list -g --depth 0
30
- - name: Install dependencies
31
- run: npm ci
+ cache: 'npm'
+ - name: Install latest NPM version
+ run: npm install -g npm@9
32
- name: Install dependencies
33
run: npm ci
34
- name: Run tests
@@ -46,6 +39,7 @@ jobs:
46
39
47
40
48
41
node-version: '16'
42
49
43
50
44
51
45
- name: Run ESLint
0 commit comments