mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
fix poetry install; remove npm ci
(rebased-with-history from commit e635411c70
)
This commit is contained in:
commit
43c87cfe4c
7
.github/workflows/publish-docs.yml
vendored
7
.github/workflows/publish-docs.yml
vendored
@ -22,14 +22,11 @@ jobs:
|
||||
python-version: '3.8'
|
||||
|
||||
- name: Install poetry using pip
|
||||
run: pip install poetry
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
run: pipx install poetry==1.7.0
|
||||
|
||||
- name: Get current version
|
||||
id: version
|
||||
run: echo "::set-output name=version::$(node -p "require('./packages/jspsych/package.json').version")"
|
||||
run: echo "::set-output name=version::$(node -p "const version = require('./packages/jspsych/package.json').version; const [major, minor] = version.split('.'); return `${major}.${minor}`;")
|
||||
|
||||
- name: Deploy docs
|
||||
run: npm run docs:deploy ${{ steps.version.outputs.version }}
|
||||
|
Loading…
Reference in New Issue
Block a user