Skip to content

Commit

Permalink
fix(ci): Update CI
Browse files Browse the repository at this point in the history
mikkelkp committed Jan 30, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 51977b3 commit 3bb56e2
Showing 2 changed files with 11 additions and 10 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -13,22 +13,23 @@ jobs:
- name: set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: "3.10"
- name: set up node # we need node for for semantic release
uses: actions/setup-node@v2.1.2
uses: actions/setup-node@v4
with:
node-version: 14.2.0
node-version: 22.2.0
- name: install python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r dev-requirements.txt
pip install .
- name: install semantic-release
run:
npm install @semantic-release/exec
- name: run semantic release
run:
npx semantic-release@^17.0.0
id: new_release
run: |
nextRelease="`npx semantic-release@^23.1.1 --dryRun | grep -oP 'Published release \K.*? ' || true`"
npx semantic-release@^23.1.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PYPI_USERNAME: ${{ secrets.POLLINATION_PYPI_USERNAME }}
6 changes: 3 additions & 3 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
twine==3.3.0
wheel==0.36.2
setuptools==53.0.0
twine==5.1.1
wheel==0.44.0
setuptools==75.1.0

0 comments on commit 3bb56e2

Please sign in to comment.