Ignore tests and .github-folder when publishing #15
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 CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x, 21.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- run: npx jsr add @cross/test @std/assert @cross/deepmerge @cross/utils | |
- run: "echo '{ \"type\": \"module\" }' > package.json" # Needed for tsx to work | |
- run: npx --yes tsx --test *.test.ts |