Skip to content

Commit 6387a56

Browse files
committed
chore: update GitHub Actions to use latest versions of checkout and setup-node
1 parent dbaa9ef commit 6387a56

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,19 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0
1517
- name: Set up Node.js
16-
uses: actions/setup-node@v2
18+
uses: actions/setup-node@v4
1719
with:
18-
node-version: '18'
20+
node-version: '22.13'
1921

2022
- run: npm install
2123
- run: npm run docs
2224

2325
- name: Deploy to GitHub Pages
2426
uses: peaceiris/actions-gh-pages@v3
2527
with:
26-
github_token: ${{ secrets.GH_TOKEN }}
28+
github_token: ${{ secrets.GITHUB_TOKEN }}
2729
publish_dir: ./docs

0 commit comments

Comments
 (0)