Skip to content

Commit

Permalink
Enhance release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoluc committed Oct 2, 2021
1 parent de6c634 commit b3b1d14
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,13 @@ jobs:
with:
node-version: 16.x

- name: Install dependencies
run: npm ci --ignore-scripts
- name: Install dependencies and build packages
run: npm install

- name: Run tests
run: npm run test -- --ci --maxWorkers=2
env:
NODE_OPTIONS: "--max-old-space-size=4096" # Increase heap size for jest

- name: Create Release Pull Request
uses: changesets/action@master
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"prepare": "husky install && npm run build",
"tsc": "npm run tsc -ws",
"changeset": "changeset",
"release": "npm install && npm test && changeset publish"
"release": "changeset publish"
},
"engines": {
"node": ">=14.0.0",
Expand Down

0 comments on commit b3b1d14

Please sign in to comment.