We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f74ee45 + 9ca0cb2 commit 4fa8897Copy full SHA for 4fa8897
.github/workflows/nodejs.yml
@@ -8,17 +8,18 @@ jobs:
8
build:
9
10
runs-on: ubuntu-latest
11
-
+
12
strategy:
13
matrix:
14
node-version: [12.x, 14.x, 16.x]
15
16
steps:
17
- uses: actions/checkout@v1
18
- name: Use Node.js ${{ matrix.node-version }}
19
- uses: actions/setup-node@v1
+ uses: actions/setup-node@v2
20
with:
21
node-version: ${{ matrix.node-version }}
22
+ cache: npm
23
- name: npm install, build, and test
24
run: |
25
npm ci
.github/workflows/publish.yml
@@ -13,6 +13,7 @@ jobs:
node-version: 14
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build --if-present
- run: npm test
0 commit comments