Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexagon committed Nov 29, 2024
1 parent 63181e3 commit c412f53
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ jobs:
uses: denoland/setup-deno@v1
with:
deno-version: v2.x

- name: Publish package
run: deno publish
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on:
on:
push:
branches: [main, dev]
pull_request:
Expand All @@ -20,4 +20,4 @@ jobs:
with:
test_target: "*.test.ts"
jsr_dependencies: "@std/assert @std/async @cross/runtime"
npm_dependencies: "sinon"
npm_dependencies: "sinon"
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: antongolub/[email protected]
- uses: antongolub/[email protected]
with:
bun-version: v1.x # Uses latest bun 1
- run: bun x jsr add @cross/test @std/assert # Installs dependencies
Expand All @@ -108,9 +108,9 @@ jobs:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x # Uses latest deno version 1
deno-version: v1.x # Uses latest deno version 1
- run: deno add @cross/test @std/assert # Installs dependencies from jsr.io
- run: deno test # Runs tests
- run: deno test # Runs tests
```
- **Node (GitHub actions):**
Expand All @@ -120,13 +120,12 @@ name: Node.js CI

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

jobs:
build:

runs-on: ubuntu-latest

strategy:
Expand Down
7 changes: 6 additions & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@
"fmt": {
"lineWidth": 200
},
"imports": { "@cross/runtime": "jsr:@cross/runtime@^1.0.0", "@std/assert": "jsr:@std/assert@^0.226.0", "@std/async": "jsr:@std/async@^0.224.2", "sinon": "npm:sinon@^18.0.0" },
"imports": {
"@cross/runtime": "jsr:@cross/runtime@~1.0.0",
"@std/assert": "jsr:@std/assert@~1.0.8",
"@std/async": "jsr:@std/async@~1.0.9",
"sinon": "npm:sinon@~19.0.2"
},
"publish": {
"exclude": [".github", "*.test.ts"]
}
Expand Down

0 comments on commit c412f53

Please sign in to comment.