Skip to content

Commit

Permalink
chore(ci): test node@22 and update action (#1046)
Browse files Browse the repository at this point in the history
- Closes #1044
  • Loading branch information
styfle committed Apr 26, 2024
1 parent 1f45757 commit 142aa63
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
node: [20]
node: [20,22]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: corepack enable npm
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"prettier": "prettier \"./**/*.ts\" \"./**/*.tsx\" --write",
"git-pre-commit": "npm run prettier && git add -A",
"lint": "npm run prettier && git diff --exit-code",
"test": "tsc && rm -f test/hardlink/link && ln test/hardlink/orig.txt test/hardlink/link && node --test dist/test/"
"test": "tsc && rm -f test/hardlink/link && ln test/hardlink/orig.txt test/hardlink/link && node --test"
},
"repository": "styfle/packagephobia",
"author": "styfle",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 142aa63

Please sign in to comment.