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 163efc5 commit 3de17e1Copy full SHA for 3de17e1
.github/workflows/pull-request.yml
@@ -4,14 +4,14 @@ on:
4
types: [opened, reopened, synchronize]
5
6
env:
7
- NPM_VERSION: latest
+ NPM_VERSION: 7
8
9
jobs:
10
test:
11
runs-on: ubuntu-latest
12
strategy:
13
matrix:
14
- node: [14, 16, 18]
+ node: [14, 16, 18, 20]
15
name: Node ${{ matrix.node }}
16
steps:
17
- name: 'Checkout latest code'
@@ -22,15 +22,13 @@ jobs:
22
uses: actions/setup-node@v3
23
with:
24
node-version: ${{ matrix.node }}
25
- - name: Install latest npm
+ - name: Install 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
32
- - name: Install dependencies
33
- run: npm ci
34
- name: Run tests
35
run: npm run test
36
0 commit comments