Skip to content

Commit

Permalink
fix: npm dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
frytg committed Dec 12, 2024
1 parent 8fb424d commit 1937ab6
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ on:
permissions:
contents: read

env:
JSR_DEPENDENCIES: @cross/test @std/assert @frytg/logger
NPM_DEPENDENCIES: luxon sinon

jobs:
test-on-deno-and-lint:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -83,10 +87,10 @@ jobs:
run: bun --version

- name: Install JSR dependencies
run: bunx jsr add @cross/test @std/assert @frytg/logger
run: bunx jsr add ${{ env.JSR_DEPENDENCIES }}

- name: Install NPM dependencies
run: bun add luxon
run: bun add ${{ env.NPM_DEPENDENCIES }}

- name: Test
run: bun test
Expand Down Expand Up @@ -121,10 +125,10 @@ jobs:
run: node --version

- name: Install JSR dependencies
run: npx jsr add @cross/test @std/assert @frytg/logger
run: npx jsr add ${{ env.JSR_DEPENDENCIES }}

- name: Install NPM dependencies
run: npm install luxon
run: npm install ${{ env.NPM_DEPENDENCIES }}

- name: Set up package.json
run: 'echo ''{ "type": "module" }'' > package.json'
Expand Down

0 comments on commit 1937ab6

Please sign in to comment.