Skip to content

Commit

Permalink
feat: update engines to >=18 and use pkgjs/action (#22)
Browse files Browse the repository at this point in the history
* ci: use pkgjs/action
* feat!: update engines

---------

Co-authored-by: Wes Todd <[email protected]>
  • Loading branch information
dominykas and wesleytodd authored Jul 16, 2024
1 parent ad16081 commit 1033557
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
21 changes: 8 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
name: Test
on: push

on:
push:
branches:
- main
pull_request:

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 13.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install and test
run: npm it
uses: pkgjs/action/.github/workflows/node-test.yaml@v0
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,8 @@
},
"bin": {
"nv": "./bin/nv"
},
"engines": {
"node": "^18 || ^20 || ^22"
}
}

0 comments on commit 1033557

Please sign in to comment.