Skip to content

Commit

Permalink
Remove Node 12, 14, 16 support
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Oct 7, 2023
1 parent cb8fcdc commit 52ebd9c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 27 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
matrix:
node-version:
- 18
- 16
name: Node.js ${{ matrix.node-version }} Quick
steps:
- name: Checkout the repository
Expand All @@ -50,28 +49,3 @@ jobs:
run: pnpm install --frozen-lockfile --ignore-scripts
- name: Run unit tests
run: pnpm unit
old:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 14
- 12
name: Node.js ${{ matrix.node-version }} Quick
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v1
with:
version: 3
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: pnpm install --no-frozen-lockfile --ignore-scripts
- name: Run unit tests
run: pnpm unit
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"test": "pnpm run /^test:/"
},
"engines": {
"node": ">=12.0"
"node": ">=18.0"
},
"main": "lib/safe-parse",
"funding": [
Expand Down

0 comments on commit 52ebd9c

Please sign in to comment.