mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 03:00:54 +00:00
parent
e1daa15867
commit
bdb7b9a2a9
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
run: npm ci
|
||||
|
||||
- name: Download Turborepo cache
|
||||
uses: actions/cache@v2
|
||||
@ -35,9 +35,6 @@ jobs:
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-16-turbo-
|
||||
|
||||
- name: Build packages
|
||||
run: npm run build
|
||||
|
||||
- name: Run tests
|
||||
run: npm run test -- --ci --maxWorkers=2
|
||||
env:
|
||||
@ -47,7 +44,8 @@ jobs:
|
||||
id: changesets
|
||||
uses: changesets/action@v1
|
||||
with:
|
||||
publish: npm run release
|
||||
version: npm run changeset:version
|
||||
publish: npm run changeset:publish
|
||||
commit: "chore(release): version packages"
|
||||
env:
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
@ -13,7 +13,8 @@
|
||||
"prepare": "node -e 'process.exit(!process.env.CI)' || (husky install && npm run build)",
|
||||
"tsc": "turbo tsc",
|
||||
"changeset": "changeset",
|
||||
"release": "changeset publish"
|
||||
"changeset:version": "changeset version && npm install && npm run update-unpkg-links",
|
||||
"changeset:publish": "npm run build && changeset publish"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14.0.0",
|
||||
|
Loading…
Reference in New Issue
Block a user