Skip to content

Commit 262aa90

Browse files
StephanMeijerNathanVss
authored andcommitted
⬆️(ci) upgrade GitHub Actions workflow steps to latest versions
Update all GitHub Actions to their latest major versions for improved performance, security patches, and Node.js runtime compatibility. Signed-off-by: Stephan Meijer <me@stephanmeijer.com>
1 parent 0777ddc commit 262aa90

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/front-dependencies-installation.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,24 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v6
1717
- name: Restore the frontend cache
18-
uses: actions/cache@v4
18+
uses: actions/cache@v5
1919
id: front-node_modules
2020
with:
2121
path: "node_modules"
2222
key: front-node_modules-${{ hashFiles('yarn.lock') }}
2323
- name: Setup Node.js
2424
if: steps.front-node_modules.outputs.cache-hit != 'true'
25-
uses: actions/setup-node@v4
25+
uses: actions/setup-node@v6
2626
with:
2727
node-version: ${{ inputs.node_version }}
2828
- name: Install dependencies
2929
if: steps.front-node_modules.outputs.cache-hit != 'true'
3030
run: yarn install --frozen-lockfile
3131
- name: Cache install frontend
3232
if: steps.front-node_modules.outputs.cache-hit != 'true'
33-
uses: actions/cache@v4
33+
uses: actions/cache@v5
3434
with:
3535
path: "node_modules"
3636
key: front-node_modules-${{ hashFiles('yarn.lock') }}

.github/workflows/main.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
if: github.event_name == 'pull_request' # Makes sense only for pull requests
2020
steps:
2121
- name: Checkout repository
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v6
2323
with:
2424
fetch-depth: 0
2525
- name: show
@@ -40,13 +40,13 @@ jobs:
4040
needs: install-front
4141
steps:
4242
- name: Checkout repository
43-
uses: actions/checkout@v4
43+
uses: actions/checkout@v6
4444
- name: Setup Node.js
45-
uses: actions/setup-node@v4
45+
uses: actions/setup-node@v6
4646
with:
4747
node-version: "20.x"
4848
- name: Restore the frontend cache
49-
uses: actions/cache@v4
49+
uses: actions/cache@v5
5050
with:
5151
path: "node_modules"
5252
key: front-node_modules-${{ hashFiles('yarn.lock') }}
@@ -59,13 +59,13 @@ jobs:
5959
needs: install-front
6060
steps:
6161
- name: Checkout repository
62-
uses: actions/checkout@v4
62+
uses: actions/checkout@v6
6363
- name: Setup Node.js
64-
uses: actions/setup-node@v4
64+
uses: actions/setup-node@v6
6565
with:
6666
node-version: "20.x"
6767
- name: Restore the frontend cache
68-
uses: actions/cache@v4
68+
uses: actions/cache@v5
6969
with:
7070
path: "node_modules"
7171
key: front-node_modules-${{ hashFiles('yarn.lock') }}
@@ -78,13 +78,13 @@ jobs:
7878
needs: install-front
7979
steps:
8080
- name: Checkout repository
81-
uses: actions/checkout@v4
81+
uses: actions/checkout@v6
8282
- name: Setup Node.js
83-
uses: actions/setup-node@v4
83+
uses: actions/setup-node@v6
8484
with:
8585
node-version: "20.x"
8686
- name: Restore the frontend cache
87-
uses: actions/cache@v4
87+
uses: actions/cache@v5
8888
with:
8989
path: "node_modules"
9090
key: front-node_modules-${{ hashFiles('yarn.lock') }}

0 commit comments

Comments
 (0)