Skip to content

Commit f0611a2

Browse files
committed
make node version 22
1 parent a405332 commit f0611a2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Setup Node.js
2828
uses: actions/setup-node@v4
2929
with:
30-
node-version: 18
30+
node-version: 22
3131

3232
- name: Install dependencies
3333
run: npm ci
@@ -36,7 +36,7 @@ jobs:
3636

3737
- name: Lint Code (ESLint)
3838
run: npm run lint
39-
39+
4040
- name: Inject correct baseUrl into docusaurus.config.js
4141
id: inject
4242
run: |
@@ -50,7 +50,7 @@ jobs:
5050
echo "baseUrl=$BASE_URL" >> $GITHUB_OUTPUT
5151
5252
sed -i "s|baseUrl: '.*'|baseUrl: '$BASE_URL'|" docusaurus.config.js
53-
53+
5454
- name: Comment injected baseUrl on PR
5555
if: github.event_name == 'pull_request'
5656
uses: marocchino/sticky-pull-request-comment@v2
@@ -99,7 +99,7 @@ jobs:
9999
publish_dir: ./build
100100
publish_branch: gh-pages
101101
destination_dir: ${{ steps.vars.outputs.destination_dir }}
102-
keep_files: true # Keep other PR previews intact
102+
keep_files: true # Keep other PR previews intact
103103

104104
- name: Comment preview link on PR
105105
if: github.event_name == 'pull_request'
@@ -119,12 +119,12 @@ jobs:
119119
uses: actions/checkout@v4
120120
with:
121121
ref: gh-pages
122-
122+
123123
- name: Remove PR preview directory
124124
run: |
125125
git config user.name "github-actions[bot]"
126126
git config user.email "github-actions[bot]@users.noreply.github.com"
127-
127+
128128
if [ -d "pr-${{ github.event.pull_request.number }}" ]; then
129129
git rm -rf pr-${{ github.event.pull_request.number }}
130130
git commit -m "🧹 Remove preview for PR #${{ github.event.pull_request.number }}"

0 commit comments

Comments
 (0)