mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
CI: Add package test for Yarn Plug'n'Play
This commit is contained in:
11
.github/workflows/npm.yml
vendored
11
.github/workflows/npm.yml
vendored
@@ -139,6 +139,17 @@ jobs:
|
||||
yarn install
|
||||
node release.mjs
|
||||
|
||||
- name: Run with Node.js + yarn pnp
|
||||
if: ${{ matrix.runtime == 'node' && matrix.package-manager == 'yarn' }}
|
||||
run: |
|
||||
corepack enable
|
||||
yarn set version stable
|
||||
yarn config set enableImmutableInstalls false
|
||||
yarn config set enableScripts false
|
||||
yarn config set nodeLinker pnp
|
||||
yarn install
|
||||
node release.mjs
|
||||
|
||||
- name: Run with Deno
|
||||
if: ${{ matrix.runtime == 'deno' }}
|
||||
run: deno run --allow-read --allow-ffi release.mjs
|
||||
|
||||
Reference in New Issue
Block a user