mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 02:30:12 +02:00
CI: Add package test for Yarn Plug'n'Play
This commit is contained in:
parent
a584ae093e
commit
6e02f9288e
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user