Skip to content

Commit efcc6eb

Browse files
committed
Update create_release.yml
1 parent ae4da62 commit efcc6eb

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/create_release.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ on:
99
jobs:
1010
check-release:
1111
runs-on: ubuntu-latest
12-
env:
13-
NODE_OPTIONS: --max-old-space-size=6144
1412
steps:
1513
- name: Checkout code
1614
uses: actions/checkout@v3
@@ -20,8 +18,15 @@ jobs:
2018
with:
2119
node-version: '22'
2220

23-
- name: Install dependencies
24-
run: npm install
21+
- name: Install dependencies (debug + retry + more memory/disk)
22+
env:
23+
NODE_OPTIONS: --max-old-space-size=6144
24+
run: |
25+
df -h
26+
free -h
27+
npm config set loglevel silly
28+
npm install --foreground-scripts --no-audit || \
29+
(sleep 5 && npm install --foreground-scripts --no-audit --prefer-offline)
2530
2631
- name: Get package.json version
2732
id: get_version

0 commit comments

Comments
 (0)