0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-30 22:03:56 -05:00

Updates deprecated Node.js 16 github actions (#10270)

This commit is contained in:
Martin Trapp 2024-02-29 05:49:07 +01:00 committed by GitHub
parent f192083423
commit 3df811a3bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 15 additions and 15 deletions

View file

@ -27,7 +27,7 @@ jobs:
ref: refs/pull/${{ github.event.issue.number }}/head ref: refs/pull/${{ github.event.issue.number }}/head
- name: Setup PNPM - name: Setup PNPM
uses: pnpm/action-setup@v2 uses: pnpm/action-setup@v3
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v4

View file

@ -29,7 +29,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup PNPM - name: Setup PNPM
uses: pnpm/action-setup@v2 uses: pnpm/action-setup@v3
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v4

View file

@ -50,7 +50,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup PNPM - name: Setup PNPM
uses: pnpm/action-setup@v2 uses: pnpm/action-setup@v3
- name: Setup node@${{ matrix.NODE_VERSION }} - name: Setup node@${{ matrix.NODE_VERSION }}
uses: actions/setup-node@v4 uses: actions/setup-node@v4
@ -80,7 +80,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup PNPM - name: Setup PNPM
uses: pnpm/action-setup@v2 uses: pnpm/action-setup@v3
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v4
@ -122,7 +122,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup PNPM - name: Setup PNPM
uses: pnpm/action-setup@v2 uses: pnpm/action-setup@v3
- name: Setup node@${{ matrix.NODE_VERSION }} - name: Setup node@${{ matrix.NODE_VERSION }}
uses: actions/setup-node@v4 uses: actions/setup-node@v4
@ -159,7 +159,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup PNPM - name: Setup PNPM
uses: pnpm/action-setup@v2 uses: pnpm/action-setup@v3
- name: Setup node@${{ matrix.NODE_VERSION }} - name: Setup node@${{ matrix.NODE_VERSION }}
uses: actions/setup-node@v4 uses: actions/setup-node@v4
@ -195,7 +195,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup PNPM - name: Setup PNPM
uses: pnpm/action-setup@v2 uses: pnpm/action-setup@v3
- name: Setup node@${{ matrix.NODE_VERSION }} - name: Setup node@${{ matrix.NODE_VERSION }}
uses: actions/setup-node@v4 uses: actions/setup-node@v4

View file

@ -33,7 +33,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Setup PNPM - name: Setup PNPM
uses: pnpm/action-setup@v2 uses: pnpm/action-setup@v3
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v4

View file

@ -30,7 +30,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Setup PNPM - name: Setup PNPM
uses: pnpm/action-setup@v2 uses: pnpm/action-setup@v3
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v4
@ -65,7 +65,7 @@ jobs:
env: env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
run: node .github/scripts/announce.mjs '${{ steps.changesets.outputs.publishedPackages }}' run: node .github/scripts/announce.mjs '${{ steps.changesets.outputs.publishedPackages }}'
- name: Send message on Discord - name: Send message on Discord
if: steps.changesets.outputs.published == 'true' if: steps.changesets.outputs.published == 'true'
env: env:

View file

@ -33,7 +33,7 @@ jobs:
path: main path: main
- name: Setup PNPM - name: Setup PNPM
uses: pnpm/action-setup@v2 uses: pnpm/action-setup@v3
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v4

View file

@ -19,8 +19,8 @@ jobs:
name: Create a snapshot release of a pull request 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')) }} 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 runs-on: ubuntu-latest
permissions: permissions:
contents: read contents: read
id-token: write id-token: write
issues: write issues: write
pull-requests: write pull-requests: write
@ -66,7 +66,7 @@ jobs:
- run: git fetch origin main:main - run: git fetch origin main:main
- name: Setup PNPM - name: Setup PNPM
uses: pnpm/action-setup@v2 uses: pnpm/action-setup@v3
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v4

View file

@ -22,7 +22,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup PNPM - name: Setup PNPM
uses: pnpm/action-setup@v2 uses: pnpm/action-setup@v3
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v4