Skip to content

Commit

Permalink
ci: use Node v20 and enable strict engine checks (#303)
Browse files Browse the repository at this point in the history
Strict engine checks are only for our CI - it doesn't impact consumers
of the actual package, but will ensure updates like #302 will fail CI
  • Loading branch information
G-Rath committed Jan 21, 2024
1 parent 42ba280 commit 2ff6c72
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 20.x
cache: npm
- name: install
run: npm ci
Expand All @@ -49,7 +49,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 20.x
cache: npm

- run: npm ci
Expand All @@ -66,7 +66,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 20.x
cache: npm

- run: npm ci
Expand All @@ -82,7 +82,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 20.x
cache: npm

- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 20.x
cache: npm

- name: install
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true

0 comments on commit 2ff6c72

Please sign in to comment.