mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 11:45:07 +03:00
57535b0169
3.8 builds fail compiling some random (apparently unneeded) npm module for linux
35 lines
739 B
YAML
35 lines
739 B
YAML
distributable:
|
|
url: https://github.com/yarnpkg/berry/archive/refs/tags/@yarnpkg/cli/{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: yarnpkg/berry/releases
|
|
|
|
provides:
|
|
- bin/yarn
|
|
- bin/yarnpkg
|
|
|
|
dependencies:
|
|
nodejs.org: '>=18.3'
|
|
|
|
build:
|
|
dependencies:
|
|
classic.yarnpkg.com: ^1 # works and prevents bootstrapping issues
|
|
script:
|
|
- yarn install --immutable --mode=skip-build
|
|
- yarn build:cli
|
|
|
|
- run: |
|
|
chmod +x yarn.js
|
|
mkdir -p {{prefix}}/bin
|
|
cp yarn.js {{prefix}}/bin/yarn
|
|
working-directory: packages/yarnpkg-cli/bundles
|
|
|
|
- run: ln -s yarn yarnpkg
|
|
working-directory: ${{prefix}}/bin
|
|
|
|
test:
|
|
script: |
|
|
yarn --version
|
|
yarnpkg --version
|
|
yarn add jquery
|