mirror of https://github.com/nodejs/corepack.git
Merge pull request #9 from merceyz/merceyz/build
build: don't try to use yarn before building it
This commit is contained in:
commit
fca4fe0a50
|
|
@ -23,6 +23,7 @@ jobs:
|
|||
|
||||
- name: 'Build Node with corepack master'
|
||||
run: |
|
||||
yarn install --immutable
|
||||
yarn pack
|
||||
git clone -b mael/pmm --depth=1 https://github.com/arcanis/node.git node && cd node
|
||||
git config user.name 'John Doe'
|
||||
|
|
|
|||
|
|
@ -22,5 +22,6 @@ jobs:
|
|||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
|
||||
- run: yarn install --immutable
|
||||
- run: yarn eslint
|
||||
- run: yarn jest
|
||||
|
|
|
|||
|
|
@ -42,9 +42,9 @@
|
|||
"webpack-cli": "^3.3.11"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rm -rf dist && yarn webpack && yarn ts-node ./mkshims.ts",
|
||||
"build": "rm -rf dist && webpack && ts-node ./mkshims.ts",
|
||||
"corepack": "ts-node ./sources/main.ts",
|
||||
"prepack": "yarn build",
|
||||
"prepack": "node ./.yarn/releases/*.*js build",
|
||||
"postpack": "rm -rf dist shims"
|
||||
},
|
||||
"files": [
|
||||
|
|
|
|||
Loading…
Reference in New Issue