Skip to content

Commit

Permalink
Updates deprecated Node.js 16 github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
martrapp committed Feb 29, 2024
1 parent 2af8e96 commit b58098d
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
ref: refs/pull/${{ github.event.issue.number }}/head

- name: Setup PNPM
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v3

- name: Setup Node
uses: actions/setup-node@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup PNPM
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v3

- name: Setup Node
uses: actions/setup-node@v4
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup PNPM
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v3

- name: Setup node@${{ matrix.NODE_VERSION }}
uses: actions/setup-node@v4
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup PNPM
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v3

- name: Setup Node
uses: actions/setup-node@v4
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup PNPM
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v3

- name: Setup node@${{ matrix.NODE_VERSION }}
uses: actions/setup-node@v4
Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup PNPM
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v3

- name: Setup node@${{ matrix.NODE_VERSION }}
uses: actions/setup-node@v4
Expand Down Expand Up @@ -195,7 +195,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup PNPM
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v3

- name: Setup node@${{ matrix.NODE_VERSION }}
uses: actions/setup-node@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- uses: actions/checkout@v4

- name: Setup PNPM
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v3

- name: Setup Node
uses: actions/setup-node@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- uses: actions/checkout@v4

- name: Setup PNPM
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v3

- name: Setup Node
uses: actions/setup-node@v4
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
run: node .github/scripts/announce.mjs '${{ steps.changesets.outputs.publishedPackages }}'

- name: Send message on Discord
if: steps.changesets.outputs.published == 'true'
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
path: main

- name: Setup PNPM
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v3

- name: Setup Node
uses: actions/setup-node@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/snapshot-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
name: Create a snapshot release of a pull request
if: ${{ github.repository_owner == 'withastro' && github.event.issue.pull_request && (contains(github.event.comment.body, '!preview') || contains(github.event.comment.body, '/preview') || contains(github.event.comment.body, '!snapshot') || contains(github.event.comment.body, '/snapshot')) }}
runs-on: ubuntu-latest
permissions:
contents: read
permissions:
contents: read
id-token: write
issues: write
pull-requests: write
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
- run: git fetch origin main:main

- name: Setup PNPM
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v3

- name: Setup Node
uses: actions/setup-node@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-hosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup PNPM
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v3

- name: Setup Node
uses: actions/setup-node@v4
Expand Down

0 comments on commit b58098d

Please sign in to comment.