Skip to content

Commit c78b757

Browse files
committed
chore: use corepack everywhere
1 parent 1574e67 commit c78b757

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/test.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ jobs:
1414
- uses: actions/setup-node@v1
1515
with:
1616
node-version: "22.x"
17-
- run: |
18-
corepack enable
19-
npm -v
17+
- run: corepack enable
2018
- run: npm install
2119
- run: touch .env
2220
- run: npm run build
@@ -29,7 +27,8 @@ jobs:
2927
- uses: actions/checkout@v2
3028
- uses: actions/setup-node@v1
3129
with:
32-
node-version: '18.x'
30+
node-version: "22.x"
31+
- run: corepack enable
3332
- run: npm install
3433
- run: npm run eslint
3534
- run: npm run prettier-check

.github/workflows/update-generated-code.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
with:
1616
token: "${{ secrets.TOLGEE_MACHINE_PAT }}"
1717

18-
- name: Setup node
19-
uses: actions/setup-node@v3
18+
- uses: actions/setup-node@v1
2019
with:
2120
node-version: "22.x"
21+
- run: corepack enable
2222

2323
- name: Install npm dependencies
2424
run: npm ci

0 commit comments

Comments
 (0)