Skip to content

Commit

Permalink
fix poetry install; remove npm ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jodeleeuw committed Jan 14, 2024
1 parent c1ddf92 commit e635411
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit e635411

Please sign in to comment.