Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit c1acca7

Browse files
remove unnecessary cleaning step at github workflows
(it causes an error sometimes https://github.com/web3/web3.js/actions/runs/7634860730/attempts/1?pr=6748)
1 parent 3281621 commit c1acca7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
node-version: ${{ matrix.node }}
2525
cache: yarn
2626
- run: yarn install --ignore-scripts
27-
- run: yarn prebuild
27+
- run: yarn init-scripts
2828
- run: yarn build:cjs
2929
- run: tar -czf /tmp/web3-${{ matrix.node }}.js.tar.gz --exclude="./.git" ./
3030
- uses: actions/upload-artifact@v4

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
"scripts": {
3434
"version": "yarn run bootstrap && yarn build",
3535
"bootstrap": "lerna bootstrap",
36-
"prebuild": "yarn clean && ts-node scripts/init.ts",
36+
"init-scripts": "ts-node scripts/init.ts",
37+
"prebuild": "yarn clean && yarn init-scripts",
3738
"build": "lerna run build --stream",
3839
"build:types": "lerna run build:types --stream",
3940
"build:cjs": "lerna run build:cjs --stream",

0 commit comments

Comments
 (0)