We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c21392 commit 9ca0cb2Copy full SHA for 9ca0cb2
.github/workflows/nodejs.yml
@@ -6,17 +6,18 @@ jobs:
6
build:
7
8
runs-on: ubuntu-latest
9
-
+
10
strategy:
11
matrix:
12
node-version: [12.x, 14.x, 16.x]
13
14
steps:
15
- uses: actions/checkout@v1
16
- name: Use Node.js ${{ matrix.node-version }}
17
- uses: actions/setup-node@v1
+ uses: actions/setup-node@v2
18
with:
19
node-version: ${{ matrix.node-version }}
20
+ cache: npm
21
- name: npm install, build, and test
22
run: |
23
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