Skip to content

fix: version number (#821) #7

fix: version number (#821)

fix: version number (#821) #7

Workflow file for this run

name: Prerelease
on:
push:
branches:
- master
jobs:
release:
name: Prerelease
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.x
- name: Install dependencies
run: yarn
- name: Build library
run: yarn build:prod
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
run: yarn run semantic-release