Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,17 @@ jobs:
npm install

- name: Lint
shell: bash
run: |
[ "$CODE_CHANGED" = "true" ] && npm run lint || exit 0

- name: Unit test
shell: bash
run: |
[ "$CODE_CHANGED" = "true" ] && npm run test:unit || exit 0

- name: ECMAScript module test
shell: bash
run: |
[ "$CODE_CHANGED" = "true" ] && npm run test:esm || exit 0

Expand Down Expand Up @@ -111,13 +114,16 @@ jobs:
bun install

- name: Lint
shell: bash
run: |
[ "$CODE_CHANGED" = "true" ] && bun run lint || exit 0

- name: Unit test
shell: bash
run: |
[ "$CODE_CHANGED" = "true" ] && bun run test:unit-bun || exit 0

- name: ECMAScript module test
shell: bash
run: |
[ "$CODE_CHANGED" = "true" ] && bun run test:esm || exit 0