We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e11165a commit d6660d6Copy full SHA for d6660d6
.github/workflows/node.js.yml
@@ -24,4 +24,23 @@ jobs:
24
uses: actions/setup-node@v1
25
with:
26
node-version: ${{ matrix.node-version }}
27
- - run: yarn && yarn test:clean
+ # - run: yarn && yarn test:clean
28
+ - name: Cache node modules
29
+ uses: actions/cache@v2
30
+ env:
31
+ cache-name: cache-node-modules
32
+ with:
33
+ # npm cache files are stored in `~/.npm` on Linux/macOS
34
+ path: ~/.npm
35
+ key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
36
+ restore-keys: |
37
+ ${{ runner.os }}-build-${{ env.cache-name }}-
38
+ ${{ runner.os }}-build-
39
+ ${{ runner.os }}-
40
+ - name: Install dependencies
41
+ run: |
42
+ npm i jest typescript rollup typedoc -g
43
+ npm ci
44
+ - name: Test coverage
45
46
+ npm run test:clean
0 commit comments