Skip to content

fix(publish): use virtual env #32

fix(publish): use virtual env

fix(publish): use virtual env #32

Workflow file for this run

name: Release
on:
push:
branches:
- main
- beta
jobs:
test:
name: Test
uses: ./.github/workflows/test.yml
release:
name: Release
needs: [test]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: yarn install
- name: Build
run: yarn build
- name: Release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release