Skip to content

fix: License Classifier #3

fix: License Classifier

fix: License Classifier #3

Workflow file for this run

name: Release
on:
push:
branches:
- main
- next
permissions:
contents: write
issues: write
pull-requests: write
jobs:
# Job to detect which files have changed
paths:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: main
persist-credentials: true
- name: Set Git User
run: |
git config user.name "GitHub Action"
git config user.email "[email protected]"
- name: Pull latest changes from origin/main
run: git pull --rebase origin main
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: "latest"
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Update npm
run: npm install -g npm@latest
- run: bun install
- name: Install Python dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install build twine
- name: Build
run: bun run build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: npx semantic-release --ci