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.
1 parent 8059ba2 commit 75262c1Copy full SHA for 75262c1
.github/workflows/build-docs.yml
@@ -10,23 +10,11 @@ jobs:
10
runs-on: ubuntu-latest
11
steps:
12
- uses: actions/checkout@v2
13
- - name: Cache node modules
14
- uses: actions/cache@v2
15
- env:
16
- cache-name: cache-node-modules
17
- with:
18
- path: |
19
- ~/.npm
20
- **/node_modules
21
- key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
22
- restore-keys: |
23
- ${{ runner.os }}-build-${{ env.cache-name }}-
24
- ${{ runner.os }}-build-
25
- ${{ runner.os }}-
26
- name: Build docs
27
run: |
28
- npm install --dev
29
- npm run docs
+ rm package-lock.json
+ npm install --also=dev
+ npm run test
30
- name: Deploy
31
uses: peaceiris/actions-gh-pages@v3
32
with:
0 commit comments