From ba71bc5c7f6ba62e6dca8c4620baa9635bce91a4 Mon Sep 17 00:00:00 2001 From: Daniel Freytag Date: Wed, 18 Dec 2024 10:53:07 +0100 Subject: [PATCH] fix: npm in ci run --- .github/workflows/test.yml | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 53e32e9..8dd184c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: @@ -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: @@ -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 @@ -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'