mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
Enhance release workflow
This commit is contained in:
parent
de6c6348b7
commit
b3b1d14dd8
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@ -28,8 +28,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: 16.x
|
node-version: 16.x
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies and build packages
|
||||||
run: npm ci --ignore-scripts
|
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
|
- name: Create Release Pull Request
|
||||||
uses: changesets/action@master
|
uses: changesets/action@master
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
"prepare": "husky install && npm run build",
|
"prepare": "husky install && npm run build",
|
||||||
"tsc": "npm run tsc -ws",
|
"tsc": "npm run tsc -ws",
|
||||||
"changeset": "changeset",
|
"changeset": "changeset",
|
||||||
"release": "npm install && npm test && changeset publish"
|
"release": "changeset publish"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=14.0.0",
|
"node": ">=14.0.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user