Skip to content

Commit 149f79c

Browse files
author
Sebastian Silbermann
committed
chore: Pin browserslist
Ports testing-library/dom-testing-library#1243
1 parent 42a93e4 commit 149f79c

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/validate.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
# Otherwise we would not know if the problem is tied to the Node.js version
3030
fail-fast: false
3131
matrix:
32-
node: [14, 16, 18]
32+
node: [14, 16, 18, 20]
3333
runs-on: ubuntu-latest
3434
steps:
3535
- name: ⬇️ Checkout repo
@@ -43,6 +43,10 @@ jobs:
4343
with:
4444
node-version: ${{ matrix.node }}
4545

46+
# Ideally done by actions/setup-node: https://github.com/actions/setup-node/issues/213
47+
- name: Setup package manager
48+
run: npm install -g [email protected]
49+
4650
- name: 📥 Download deps
4751
uses: bahmutov/npm-install@v1
4852
with:
@@ -64,6 +68,7 @@ jobs:
6468
release:
6569
permissions:
6670
contents: write # to create release tags (cycjimmy/semantic-release-action)
71+
issues: write # to post release that resolves an issue
6772

6873
needs: main
6974
runs-on: ubuntu-latest
@@ -79,6 +84,10 @@ jobs:
7984
with:
8085
node-version: 14
8186

87+
# Ideally done by actions/setup-node: https://github.com/actions/setup-node/issues/213
88+
- name: Setup package manager
89+
run: npm install -g [email protected]
90+
8291
- name: 📥 Download deps
8392
uses: bahmutov/npm-install@v1
8493
with:

package.json

+4
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@
7070
"kcd-scripts": "^11.0.0",
7171
"typescript": "^4.1.2"
7272
},
73+
"overrides": {
74+
"browserslist": "4.21.8",
75+
"caniuse-lite": "1.0.30001502"
76+
},
7377
"eslintConfig": {
7478
"extends": [
7579
"./node_modules/kcd-scripts/eslint.js",

0 commit comments

Comments
 (0)