Skip to content

Merge pull request #2 from faergeek/build-before-release #4

Merge pull request #2 from faergeek/build-before-release

Merge pull request #2 from faergeek/build-before-release #4

Workflow file for this run

name: Release
on:
push:
branches:
- '**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v4
with:
cache: pnpm
node-version-file: .nvmrc
- run: pnpm install --frozen-lockfile
- run: pnpm run build
- run: pnpm exec semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}