Skip to content

Commit

Permalink
Merge pull request #611 from ClarityCafe/dependabot/github_actions/de…
Browse files Browse the repository at this point in the history
…noland/setup-deno-2

Bump denoland/setup-deno from 1 to 2
  • Loading branch information
sr229 authored Oct 3, 2024
2 parents 6c67220 + 46f6294 commit 0b35a73
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,23 @@ jobs:

strategy:
matrix:
deno-version: [canary, v1.46.1]
deno-version: [canary, rc]

steps:
- uses: actions/checkout@v4.1.7

- name: Setup Deno ${{ matrix.bun-version }}
uses: denoland/setup-deno@v1
uses: denoland/setup-deno@v1.5.1
with:
deno-version: ${{ matrix.deno-version }}

- name: Test
run: |
echo 'SAUCENAO_TOKEN=${{ secrets.SAUCENAO_TOKEN }}' > ./.env
deno install -D
deno task build
deno task coverage:deno
test:
test-bun:
runs-on: ubuntu-latest

strategy:
Expand Down
12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "4.1.0",
"description": "A simple, lightweight and actually good JS wrapper for the SauceNAO API.",
"license": "MIT",
"main": "./dist/sagiri.cjs",
"main": "dist/sagiri.cjs",
"type": "module",
"homepage": "https://github.com/ClarityCafe/Sagiri#readme",
"repository": {
Expand Down Expand Up @@ -49,8 +49,8 @@
},
"scripts": {
"test": "bun --env-file='./.env.test.local' test bun",
"test:deno": "deno test --unstable-sloppy-imports --allow-net",
"coverage:deno": "deno test --unstable-sloppy-imports --allow-net --coverage",
"test:deno": "deno test --unstable-sloppy-imports --allow-net --allow-read test/deno/sagiri.test.ts",
"coverage:deno": "deno test --unstable-sloppy-imports --allow-net --allow-read --coverage test/deno/sagiri.test.ts",
"test:nodejs": "jest node",
"coverage:nodejs": "jest node --coverage",
"coverage": "bun --env-file='./.env.test.local' test bun --coverage",
Expand All @@ -64,13 +64,11 @@
"eslint": "^9.9.1",
"jest": "^29.7.0",
"tsup": "^8.2.4",
"typescript": "^5.6.2",
"typescript-eslint": "^8.3.0"
},
"peerDependencies": {
"typescript": "^5.0.0"
},
"dependencies": {
"form-data": "^4.0.0",
"node-fetch": "^3.3.2"
}
"dependencies": { "form-data": "^4.0.0", "node-fetch": "^3.3.2" }
}

0 comments on commit 0b35a73

Please sign in to comment.