Skip to content

ci: Use semantic-release (#240) #1

ci: Use semantic-release (#240)

ci: Use semantic-release (#240) #1

name: Release
on:
push:
branches: [ main ]
permissions:
contents: write
jobs:
semantic-release:
runs-on: [ ubuntu-latest ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- name: Install semantic-release
shell: bash
run: npm install
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Release
shell: bash
env:
PYPI_USERNAME: 'coveo'
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: npx semantic-release