File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232 runs-on : ubuntu-latest
3333 steps :
3434 - name : Checkout src
35- uses : actions/checkout@v3
35+ uses : actions/checkout@v4
3636
3737 - run : mkdir -p ./docs
3838 - name : Download the existing documents artifact
@@ -42,15 +42,15 @@ jobs:
4242 - run : tar -xf documentation.tar ./docs -C ./docs
4343
4444 - name : Build
45- uses : actions/setup-node@v3
45+ uses : actions/setup-node@v4
4646 with :
47- node-version : 16 .x
48- cache : ' npm '
49- - run : npm ci
50- - run : npm run build # set up 'build' script in your package.json
47+ node-version : 22 .x
48+ cache : ' yarn '
49+ - run : yarn install --frozen-lockfile
50+ - run : yarn build # set up 'build' script in your package.json
5151
5252 - name : Build documents
53- run : npm run docs # set up 'docs' build script in your package.json
53+ run : yarn docs # set up 'docs' build script in your package.json
5454
5555 - name : tar the new docs
5656 run : tar -cvf newdocumentation.tar ./docs
You can’t perform that action at this time.
0 commit comments