Skip to content

Commit 216fcd0

Browse files
committed
Added cache dep path to .docs action
1 parent 737fdfa commit 216fcd0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,19 @@ on:
88
branches: [ "develop" ]
99

1010
jobs:
11-
build:
12-
11+
docs:
1312
runs-on: ubuntu-latest
14-
1513
strategy:
1614
matrix:
1715
node-version: [18.x]
1816
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
19-
2017
steps:
2118
- uses: actions/checkout@v3
2219
- name: Use Node.js ${{ matrix.node-version }}
2320
uses: actions/setup-node@v3
2421
with:
2522
node-version: ${{ matrix.node-version }}
2623
cache: 'npm'
24+
cache-dependency-path: '**/package-lock.json'
2725
- run: npm ci
2826
- run: npm run docs
29-
# - run: npm test

0 commit comments

Comments
 (0)