Skip to content

Commit

Permalink
fix(ci): only run non-tests in Node 18.x
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed committed Sep 6, 2023
1 parent 30b088a commit 3bd2b42
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,15 @@ jobs:
bun add -g oxlint
- name: Linter
if: matrix.nodejs >= 18
run: oxlint .

- name: Test
if: matrix.nodejs < 18
run: bun run test

- name: Test w/ Coverage
if: matrix.nodejs >= 18
run: nyc --include=packages bun run test

- name: Report
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
},
"scripts": {
"build": "lerna exec bundt index.js",
"linter": "eslint packages --env node,es6",
"test": "uvu -r esm -i util packages test"
},
"devDependencies": {
Expand Down

0 comments on commit 3bd2b42

Please sign in to comment.