Skip to content

Commit

Permalink
fix: npm in ci run
Browse files Browse the repository at this point in the history
  • Loading branch information
frytg committed Dec 18, 2024
1 parent fe2fa54 commit ba71bc5
Showing 1 changed file with 5 additions and 21 deletions.
26 changes: 5 additions & 21 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ permissions:
env:
NODE_ENV: production
JSR_DEPENDENCIES: "@cross/test @std/assert @std/fmt @frytg/logger"
# NPM_DEPENDENCIES: "luxon minio sinon"
NPM_DEPENDENCIES: "luxon minio sinon"

jobs:
test-on-deno-and-lint:
Expand Down Expand Up @@ -79,14 +79,6 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- name: Set up Deno
uses: denoland/setup-deno@v2
with:
deno-version: canary

- name: Install dependencies
run: deno install --vendor

- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
Expand All @@ -98,8 +90,8 @@ jobs:
- name: Install JSR dependencies
run: bunx jsr add ${{ env.JSR_DEPENDENCIES }}

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

- name: Test
run: bun test
Expand Down Expand Up @@ -130,22 +122,14 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Set up Deno
uses: denoland/setup-deno@v2
with:
deno-version: canary

- name: Install dependencies
run: deno install --vendor

- name: Node version
run: node --version

- name: Install JSR dependencies
run: npx jsr add ${{ env.JSR_DEPENDENCIES }}

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

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

0 comments on commit ba71bc5

Please sign in to comment.