Skip to content

Commit fca4fe0

Browse files
authored
Merge pull request #9 from merceyz/merceyz/build
build: don't try to use yarn before building it
2 parents 9e677ee + 08b411b commit fca4fe0

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323

2424
- name: 'Build Node with corepack master'
2525
run: |
26+
yarn install --immutable
2627
yarn pack
2728
git clone -b mael/pmm --depth=1 https://github.com/arcanis/node.git node && cd node
2829
git config user.name 'John Doe'

.github/workflows/nodejs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,6 @@ jobs:
2222
with:
2323
node-version: ${{ matrix.node-version }}
2424

25+
- run: yarn install --immutable
2526
- run: yarn eslint
2627
- run: yarn jest

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
"webpack-cli": "^3.3.11"
4343
},
4444
"scripts": {
45-
"build": "rm -rf dist && yarn webpack && yarn ts-node ./mkshims.ts",
45+
"build": "rm -rf dist && webpack && ts-node ./mkshims.ts",
4646
"corepack": "ts-node ./sources/main.ts",
47-
"prepack": "yarn build",
47+
"prepack": "node ./.yarn/releases/*.*js build",
4848
"postpack": "rm -rf dist shims"
4949
},
5050
"files": [

0 commit comments

Comments
 (0)