fix(ci/node): install @crayon/crayon
#7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node.js | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
node-version: [18.x, 21.x] | |
steps: | |
- uses: actions/checkout@v3 | |
# TODO: Update crayon version after stable release | |
- run: npx jsr add @crayon/[email protected] @cross/test @std/assert | |
- run: 'echo ''{ "type": "module" }'' > package.json' # Needed for tsx to work | |
- run: npx --yes tsx --test *.test.ts |