Skip to content

Commit bba6f96

Browse files
chore: update pob root
1 parent 72366b8 commit bba6f96

8 files changed

Lines changed: 214 additions & 190 deletions

File tree

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
- uses: actions/setup-node@v4
1414
with:
15-
node-version: 22
15+
node-version: 20
1616

1717
- name: Enable Corepack
1818
run: corepack enable

.github/workflows/push-renovate-pob_root.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ jobs:
1515
with:
1616
token: ${{ secrets.GH_TOKEN }}
1717

18+
- uses: actions/setup-node@v4
19+
with:
20+
node-version: 22
21+
1822
- name: Enable Corepack
1923
run: corepack enable
2024

@@ -25,7 +29,7 @@ jobs:
2529
YARN_ENABLE_IMMUTABLE_INSTALLS: false
2630

2731
- name: Run pob-root-postinstall
28-
run: yarn run pob-root-postinstall
32+
run: yarn pob-root-postinstall
2933

3034
- name: Run pob update
3135
run: npx pob update --force
@@ -44,3 +48,5 @@ jobs:
4448
-c user.email="christophehurpeau@users.noreply.github.com" \
4549
commit -m "chore: update pob root" --author="github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
4650
git push --no-verify
51+
env:
52+
YARN_ENABLE_IMMUTABLE_INSTALLS: false

.github/workflows/push-renovate-prettier.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ jobs:
1414
with:
1515
token: ${{ secrets.GH_TOKEN }}
1616

17+
- uses: actions/setup-node@v4
18+
with:
19+
node-version: 22
20+
1721
- name: Enable Corepack
1822
run: corepack enable
1923

.github/workflows/push.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
strategy:
1010
matrix:
11-
node-version: [20.x, 22.x]
11+
node-version: [18.x, 20.x]
1212

1313
steps:
1414
- uses: actions/checkout@v4
@@ -27,29 +27,28 @@ jobs:
2727

2828
- name: Checks
2929
run: yarn run checks
30-
if: startsWith(matrix.node-version, '22.')
3130

3231
- name: Prettier
3332
run: yarn run lint:prettier
34-
if: startsWith(matrix.node-version, '22.')
33+
if: startsWith(matrix.node-version, '20.')
3534

3635
- name: Eslint
3736
run: yarn run lint:eslint
38-
if: startsWith(matrix.node-version, '22.')
39-
40-
- name: Check nothing was forgotten before commit
41-
if: startsWith(matrix.node-version, '22.')
42-
run: yarn run repository-check-dirty
37+
if: startsWith(matrix.node-version, '20.')
4338

4439
- name: Generate Test Coverage
4540
run: yarn run test:coverage:json
46-
if: startsWith(matrix.node-version, '22.')
41+
if: startsWith(matrix.node-version, '20.')
4742
env:
4843
CI: true
4944

5045
- name: Send results to codecov
51-
uses: codecov/codecov-action@v5
46+
uses: codecov/codecov-action@v4
5247
with:
5348
fail_ci_if_error: true
5449
token: ${{ secrets.CODECOV_TOKEN }}
55-
if: startsWith(matrix.node-version, '22.')
50+
if: startsWith(matrix.node-version, '20.')
51+
52+
- name: Check nothing was forgotten before commit
53+
if: startsWith(matrix.node-version, '20.')
54+
run: yarn run repository-check-dirty

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
- uses: actions/setup-node@v4
2222
with:
23-
node-version: 22
23+
node-version: 20
2424

2525
- name: Enable Corepack
2626
run: corepack enable

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"type": "module",
1919
"packageManager": "yarn@4.5.3",
2020
"engines": {
21-
"node": ">=20.9.0"
21+
"node": ">=18.12.0"
2222
},
2323
"sideEffects": false,
2424
"main": "./lib/index.js",

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"extends": [
33
"@pob/root/tsconfigs/base.json",
4-
"@pob/root/tsconfigs/targets/node-20.json"
4+
"@pob/root/tsconfigs/targets/node-18.json"
55
],
66
"compilerOptions": {
77
"allowJs": true,

0 commit comments

Comments
 (0)