Skip to content

chore(build): Implement semantic release automation #2

chore(build): Implement semantic release automation

chore(build): Implement semantic release automation #2

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
test:
name: Test
uses: ./.github/workflows/tests.yml
secrets: inherit
release:
name: Release
needs: test
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: latest
- name: Setup Node.js
uses: actions/setup-node@v4
with:
cache: 'pnpm'
- name: Release
run: pnpm --package conventional-changelog-conventionalcommits --package semantic-release dlx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}