Skip to content

Commit

Permalink
Merge pull request #83 from sasarafu/chore/update-github-actions
Browse files Browse the repository at this point in the history
update github actions
  • Loading branch information
sasarafu authored Aug 10, 2024
2 parents 50c72b3 + 8221ddc commit fc74a42
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
name: deploy-dev
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: setup nodejs ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'
Expand All @@ -39,13 +39,13 @@ jobs:
run: npm run generate

- name: auth
uses: google-github-actions/auth@v1
uses: google-github-actions/auth@v2
with:
workload_identity_provider: ${{ secrets.WORKLOAD_IDENTITY_PROVIDER }}
service_account: ${{ secrets.SERVICE_ACCOUNT }}

- name: deploy to Google Cloud Storage
uses: google-github-actions/upload-cloud-storage@v1
uses: google-github-actions/upload-cloud-storage@v2
with:
path: ./dist
destination: ${{ secrets.BUCKET_NAME }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
name: deploy-prod
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: setup nodejs ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'
Expand All @@ -39,13 +39,13 @@ jobs:
run: npm run generate

- name: auth
uses: google-github-actions/auth@v1
uses: google-github-actions/auth@v2
with:
workload_identity_provider: ${{ secrets.WORKLOAD_IDENTITY_PROVIDER }}
service_account: ${{ secrets.SERVICE_ACCOUNT }}

- name: deploy to Google Cloud Storage
uses: google-github-actions/upload-cloud-storage@v1
uses: google-github-actions/upload-cloud-storage@v2
with:
path: ./dist
destination: ${{ secrets.BUCKET_NAME }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: setup nodejs ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'
Expand Down

0 comments on commit fc74a42

Please sign in to comment.