fix poetry install; remove npm ci

(rebased-with-history from commit e635411c70)
This commit is contained in:
Josh de Leeuw 2024-01-14 16:08:50 -05:00 committed by bjoluc
commit 43c87cfe4c

View File

@ -22,14 +22,11 @@ jobs:
python-version: '3.8' python-version: '3.8'
- name: Install poetry using pip - name: Install poetry using pip
run: pip install poetry run: pipx install poetry==1.7.0
- name: Install dependencies
run: npm ci
- name: Get current version - name: Get current version
id: 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 - name: Deploy docs
run: npm run docs:deploy ${{ steps.version.outputs.version }} run: npm run docs:deploy ${{ steps.version.outputs.version }}