Skip to content

Commit b3b1d14

Browse files
committed
Enhance release workflow
1 parent de6c634 commit b3b1d14

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,13 @@ jobs:
2828
with:
2929
node-version: 16.x
3030

31-
- name: Install dependencies
32-
run: npm ci --ignore-scripts
31+
- name: Install dependencies and build packages
32+
run: npm install
33+
34+
- name: Run tests
35+
run: npm run test -- --ci --maxWorkers=2
36+
env:
37+
NODE_OPTIONS: "--max-old-space-size=4096" # Increase heap size for jest
3338

3439
- name: Create Release Pull Request
3540
uses: changesets/action@master

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"prepare": "husky install && npm run build",
1313
"tsc": "npm run tsc -ws",
1414
"changeset": "changeset",
15-
"release": "npm install && npm test && changeset publish"
15+
"release": "changeset publish"
1616
},
1717
"engines": {
1818
"node": ">=14.0.0",

0 commit comments

Comments
 (0)