Skip to content

Commit bc52f95

Browse files
committed
chore: update docs deployment node version
Highlights: - Updated the node version to 22.x in the docs deployment workflow
1 parent dcf3887 commit bc52f95

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/update-docs.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches: [main]
66
paths:
7-
- 'docs/**'
7+
- 'docs/**'
88
jobs:
99
deploy-web-gcp:
1010
name: Deploy web app to GCP
@@ -13,33 +13,33 @@ jobs:
1313
run:
1414
working-directory: docs
1515
permissions:
16-
contents: "read"
17-
id-token: "write"
16+
contents: 'read'
17+
id-token: 'write'
1818
steps:
1919
- id: Checkout
2020
uses: actions/checkout@v3
2121
- uses: actions/setup-node@v2
2222
with:
23-
node-version: 16.x
23+
node-version: 22.x
2424
cache: yarn
2525
cache-dependency-path: ./docs/yarn.lock
2626

27-
- id: "auth"
28-
uses: "google-github-actions/auth@v1"
27+
- id: 'auth'
28+
uses: 'google-github-actions/auth@v1'
2929
with:
30-
credentials_json: "${{ secrets.GCP_SA_KEY }}"
30+
credentials_json: '${{ secrets.GCP_SA_KEY }}'
3131

3232
- name: 'Set up Cloud SDK'
3333
uses: 'google-github-actions/setup-gcloud@v1'
3434

35-
- name: "Install dependencies"
35+
- name: 'Install dependencies'
3636
run: yarn install --frozen-lockfile
3737

38-
- name: "Build application"
39-
run: "yarn build"
38+
- name: 'Build application'
39+
run: 'yarn build'
4040

41-
- name: "Set project ID"
42-
run: "gcloud config set project react-native-header"
41+
- name: 'Set project ID'
42+
run: 'gcloud config set project react-native-header'
4343

44-
- name: "Deploy"
45-
run: "yarn deploy --service-account ${{ vars.GCP_SA_EMAIL }}"
44+
- name: 'Deploy'
45+
run: 'yarn deploy --service-account ${{ vars.GCP_SA_EMAIL }}'

0 commit comments

Comments
 (0)