diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index 1f3184c41..cef4c5ac8 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -1,15 +1,15 @@ name: "CI: npm smoke test" -on: - push: - tags: - - "v**" +on: push +# push: +# tags: +# - "v**" permissions: {} jobs: release-smoke-test: - name: "${{ github.ref }} ${{ matrix.name }}" + name: "${{ github.ref_name }} ${{ matrix.name }}" runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -46,6 +46,7 @@ jobs: with: script: | core.setOutput('semver', context.ref.replace('refs/tags/v','')) + core.setOutput('semver','0.33.0-alpha.8') - name: Create package.json uses: DamianReeves/write-file-action@v1.2 with: @@ -71,30 +72,42 @@ jobs: run: | npm install --ignore-scripts node release.mjs - rm -r node_modules/ package-lock.json + rm -r node_modules/ + rm package-lock.json + ls - name: Run with Node.js + pnpm run: | pnpm install --ignore-scripts node release.mjs - rm -r node_modules/ pnpm-lock.yaml + rm -r node_modules/ + rm pnpm-lock.yaml + ls - name: Run with Node.js + yarn run: | corepack enable yarn set version stable + yarn config set enableImmutableInstalls false yarn config set enableScripts false yarn config set nodeLinker node-modules yarn install node release.mjs - rm -r node_modules/ .yarn/ yarn.lock .yarnrc.yml + rm -r node_modules/ + rm -r .yarn/ + rm yarn.lock + rm .yarnrc.yml corepack disable + ls - name: Run with Deno - run: deno run --allow-read --allow-ffi release.mjs + run: | + deno run --allow-read --allow-ffi release.mjs + ls - name: Run with Bun if: ${{ !contains(matrix.os, 'windows') }} run: | bun install --ignore-scripts bun release.mjs + ls