Skip to content

chore(deps): update actions/setup-node action to v4 (#61) #58

chore(deps): update actions/setup-node action to v4 (#61)

chore(deps): update actions/setup-node action to v4 (#61) #58

name: Release Main
on:
push:
branches:
- main
jobs:
release:
name: Release main
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: main
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install python dependencies
run: |
python -m pip install --upgrade wheel setuptools pipenv-setup twine
- name: Install semantic release dependencies
run: npm i semantic-release-slack-bot semantic-release-pypi
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_NT_SEMANTIC_RELEASE_PROD }}
PYPI_TOKEN: ${{ secrets.GH_PYPI_TOKEN }}
run: npx semantic-release