Skip to content

Commit dc9aa03

Browse files
authored
cp dines (#650)
1 parent e8af53c commit dc9aa03

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/publish-docs.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
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

0 commit comments

Comments
 (0)