Skip to content

Commit 57c2345

Browse files
authored
Update build.yml
1 parent 7333d79 commit 57c2345

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,14 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
node-version: [10, 12.16.3, 14]
16-
16+
name: Node ${{ matrix.node-version }} sample
1717
steps:
1818
- uses: actions/checkout@v2
1919
- name: Set up Node ${{ matrix.nodeversion }}
2020
uses: actions/setup-node@v2
2121
with:
2222
node-version: ${{ matrix.node-version }}
23-
- name: Cache node_modules
24-
uses: actions/cache@v2
25-
env:
26-
cache-name: cache-node-modules
27-
with:
28-
path: node_modules
29-
key: ${{ runner.os }}-${{ env.cache-name }}-
23+
- run: npm install
24+
- run: npm test
3025
- name: Before deploy
3126
run: npm run docs

0 commit comments

Comments
 (0)