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.
nodejs.yml
setup-node
1 parent e5414dc commit 8012df6Copy full SHA for 8012df6
.github/workflows/node.js.yml
@@ -26,17 +26,11 @@ jobs:
26
27
steps:
28
- uses: actions/checkout@v2.3.4
29
- - name: Cache artifacts such as dependencies and build outputs
30
- uses: actions/cache@v2.1.6
31
- with:
32
- path: ~/.npm
33
- key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
34
- restore-keys: |
35
- ${{ runner.os }}-node-
36
- name: Use Node.js ${{ matrix.node-version }}
37
uses: actions/setup-node@v2.2.0
38
with:
39
node-version: ${{ matrix.node-version }}
+ cache: npm
40
- run: npm ci
41
- run: npm run build --if-present
42
- run: npm test
0 commit comments