Skip to content

Commit bfdb63a

Browse files
Merge pull request #161 from strapi/153-update-github-actions-that-still-run-on-nodejs-20
fix: updated github actions
2 parents e7e8b09 + a91b7ab commit bfdb63a

5 files changed

Lines changed: 6 additions & 15 deletions

File tree

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,17 @@
11
name: 'Setup pnpm with cache'
22
description: 'Setup pnpm, configure cache, and setup Node.js'
33

4-
inputs:
5-
pnpm-version:
6-
description: 'pnpm version to install'
7-
required: false
8-
default: '10.28.1'
9-
104
runs:
115
using: 'composite'
126
steps:
137
- name: Setup pnpm
14-
uses: pnpm/action-setup@v4
15-
with:
16-
version: 10.28.1
8+
uses: pnpm/action-setup@v6.1.0
179

1810
- name: Setup Node.js
19-
uses: actions/setup-node@v4
11+
uses: actions/setup-node@v7.1.0
2012
with:
2113
node-version-file: '.nvmrc'
2214
cache: "pnpm"
23-
2415
- name: Install dependencies
2516
shell: bash
2617
run: pnpm install --frozen-lockfile --prefer-offline

‎.github/workflows/auto-pr.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# runs-on: ubuntu-latest
2121
# steps:
2222
# - name: Checkout repository
23-
# uses: actions/checkout@v4
23+
# uses: actions/checkout@v5
2424
# with:
2525
# fetch-depth: 0
2626
# token: ${{ secrets.GITHUB_TOKEN }}

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
timeout-minutes: 10
2626
steps:
2727
- name: Checkout code
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@v5
2929

3030
- name: Setup pnpm with cache
3131
uses: ./.github/actions/setup-pnpm

‎.github/workflows/invalidate-cloudfront.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
3737
- name: Configure AWS credentials
3838
if: steps.config.outputs.enabled == 'true'
39-
uses: aws-actions/configure-aws-credentials@v4
39+
uses: aws-actions/configure-aws-credentials@v6.3.0
4040
with:
4141
role-to-assume: ${{ env.ROLE_ARN }}
4242
aws-region: us-east-1

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# id-token: write # to enable use of OIDC for trusted publishing and npm provenance
2020
# steps:
2121
# - name: Checkout repository
22-
# uses: actions/checkout@v4
22+
# uses: actions/checkout@v5
2323
# with:
2424
# fetch-depth: 0
2525
# token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)