Skip to content

chore: change the build workflow to run on every commit on any branch… #4

chore: change the build workflow to run on every commit on any branch…

chore: change the build workflow to run on every commit on any branch… #4

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: pnpm/action-setup@v2.4.0
with:
version: 8
- name: Checkout
uses: actions/checkout@v4.1.1
- name: Setup Node
uses: actions/setup-node@v4.0.1
with:
node-version: 18
cache: pnpm
- name: Install Dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Test
run: pnpm test
- name: Semantic Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release