Skip to content

Commit

Permalink
chore(actions): update all actions to their latest version (#504)
Browse files Browse the repository at this point in the history
  • Loading branch information
usefulthink authored Aug 31, 2024
1 parent 04077aa commit f275735
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 11 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
cache: npm
Expand All @@ -53,18 +53,24 @@ jobs:
GOOGLE_MAPS_API_KEY_EXAMPLES: ${{ secrets.GOOGLE_MAPS_API_KEY_EXAMPLES }}

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: ./website/build

# Deployment job
deploy:
needs: build

permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4
6 changes: 3 additions & 3 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
- id: release
name: Release Please
uses: google-github-actions/release-please-action@v3
uses: googleapis/release-please-action@v4

with:
release-type: node
Expand All @@ -25,11 +25,11 @@ jobs:

- if: ${{ steps.release.outputs.release_created }}
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- if: ${{ steps.release.outputs.release_created }}
name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '20'
cache: npm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
Expand Down

0 comments on commit f275735

Please sign in to comment.