Skip to content

Commit c436b2e

Browse files
Copilotenell
andcommitted
chore: replace standalone corepack enable steps with setup-node corepack input
Co-authored-by: enell <968450+enell@users.noreply.github.com> Signed-off-by: Johan Enell <johan.enell@qlik.com>
1 parent 7142149 commit c436b2e

1 file changed

Lines changed: 10 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: CI
33
on:
44
push:
55
branches: [main]
6-
tags: ['v*']
6+
tags: ["v*"]
77
pull_request:
88

99
concurrency:
@@ -20,13 +20,13 @@ jobs:
2020
build:
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@v6
2423
- name: Enable Corepack
2524
run: corepack enable
25+
- uses: actions/checkout@v6
2626
- uses: actions/setup-node@v6
2727
with:
2828
node-version: 24.14.0
29-
cache: 'yarn'
29+
cache: "yarn"
3030
- name: Install dependencies
3131
run: yarn install --immutable
3232
- name: Build
@@ -35,13 +35,13 @@ jobs:
3535
validate:
3636
runs-on: ubuntu-latest
3737
steps:
38-
- uses: actions/checkout@v6
3938
- name: Enable Corepack
4039
run: corepack enable
40+
- uses: actions/checkout@v6
4141
- uses: actions/setup-node@v6
4242
with:
4343
node-version: 24.14.0
44-
cache: 'yarn'
44+
cache: "yarn"
4545
- name: Install dependencies
4646
run: yarn install --immutable
4747
- name: Locale verify
@@ -60,13 +60,13 @@ jobs:
6060
runs-on: ubuntu-latest
6161
needs: build
6262
steps:
63-
- uses: actions/checkout@v6
6463
- name: Enable Corepack
6564
run: corepack enable
65+
- uses: actions/checkout@v6
6666
- uses: actions/setup-node@v6
6767
with:
6868
node-version: 24.14.0
69-
cache: 'yarn'
69+
cache: "yarn"
7070
- name: Install dependencies
7171
run: yarn install --immutable
7272
- name: Build
@@ -98,13 +98,13 @@ jobs:
9898
runs-on: ubuntu-latest
9999
needs: build
100100
steps:
101-
- uses: actions/checkout@v6
102101
- name: Enable Corepack
103102
run: corepack enable
103+
- uses: actions/checkout@v6
104104
- uses: actions/setup-node@v6
105105
with:
106106
node-version: 24.14.0
107-
cache: 'yarn'
107+
cache: "yarn"
108108
- name: Install dependencies
109109
run: yarn install --immutable
110110
- name: Build
@@ -141,13 +141,11 @@ jobs:
141141
uses: actions/checkout@v6
142142
with:
143143
fetch-depth: 0
144-
- name: Enable Corepack
145-
run: corepack enable
146144
- name: Set up Node.js
147145
uses: actions/setup-node@v6
148146
with:
149147
node-version: 24.14.0
150-
cache: 'yarn'
148+
cache: "yarn"
151149

152150
- name: Install dependencies
153151
run: yarn install --immutable

0 commit comments

Comments
 (0)