Skip to content

Commit

Permalink
chore: Pin browserslist
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Silbermann committed Oct 3, 2023
1 parent 42a93e4 commit 149f79c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
# Otherwise we would not know if the problem is tied to the Node.js version
fail-fast: false
matrix:
node: [14, 16, 18]
node: [14, 16, 18, 20]
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
Expand All @@ -43,6 +43,10 @@ jobs:
with:
node-version: ${{ matrix.node }}

# Ideally done by actions/setup-node: https://github.com/actions/setup-node/issues/213
- name: Setup package manager
run: npm install -g npm@9.2.0

- name: 📥 Download deps
uses: bahmutov/npm-install@v1
with:
Expand All @@ -64,6 +68,7 @@ jobs:
release:
permissions:
contents: write # to create release tags (cycjimmy/semantic-release-action)
issues: write # to post release that resolves an issue

needs: main
runs-on: ubuntu-latest
Expand All @@ -79,6 +84,10 @@ jobs:
with:
node-version: 14

# Ideally done by actions/setup-node: https://github.com/actions/setup-node/issues/213
- name: Setup package manager
run: npm install -g npm@9.2.0

- name: 📥 Download deps
uses: bahmutov/npm-install@v1
with:
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@
"kcd-scripts": "^11.0.0",
"typescript": "^4.1.2"
},
"overrides": {
"browserslist": "4.21.8",
"caniuse-lite": "1.0.30001502"
},
"eslintConfig": {
"extends": [
"./node_modules/kcd-scripts/eslint.js",
Expand Down

0 comments on commit 149f79c

Please sign in to comment.