Skip to content

Commit

Permalink
Fix Node pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexagon committed Mar 11, 2024
1 parent 7fa2fed commit cb875b8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ jobs:
bun-version: ${{ matrix.bun-version }}
bun-repo: 'oven-sh/bun'
- name: Install Dependencies
run: bun x jsr add @cross/runtime @cross/test @std/assert
run: bun x jsr add @cross/runtime @std/assert
- name: Test Bun Module
run: bun test
5 changes: 4 additions & 1 deletion .github/workflows/deno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,7 @@ jobs:
run: deno lint

- name: Check types
run: deno check mod.ts
run: deno check mod.ts

- name: Run tests
run: deno test
5 changes: 3 additions & 2 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:

steps:
- uses: actions/checkout@v3
- run: npx jsr add @cross/test @std/assert
- run: npx jsr add @cross/runtime @std/assert
- run: npm i tsx
- run: "echo '{ \"type\": \"module\" }' > package.json" # Needed for tsx to work
- run: npx --yes tsx --test
- run: npx tsx --test *.test.ts
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"fmt": {
"lineWidth": 200
},
"imports": { "@cross/runtime": "jsr:@cross/runtime@^0.0.17" }
"imports": { "@cross/runtime": "jsr:@cross/runtime@^0.0.17", "@std/assert": "jsr:@std/assert@^0.219.1" }
}

0 comments on commit cb875b8

Please sign in to comment.