Skip to content

Commit c050c01

Browse files
chore: update pob root
1 parent 68c63fd commit c050c01

7 files changed

Lines changed: 184 additions & 168 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: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
YARN_ENABLE_IMMUTABLE_INSTALLS: false
2626

2727
- name: Run pob-root-postinstall
28-
run: yarn run pob-root-postinstall
28+
run: yarn pob-root-postinstall
2929

3030
- name: Run pob update
3131
run: npx pob update --force
@@ -44,3 +44,5 @@ jobs:
4444
-c user.email="christophehurpeau@users.noreply.github.com" \
4545
commit -m "chore: update pob root" --author="github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
4646
git push --no-verify
47+
env:
48+
YARN_ENABLE_IMMUTABLE_INSTALLS: false

.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)