Skip to content

Merge pull request #27 from drtrt-org/fix-post-release-sync #21

Merge pull request #27 from drtrt-org/fix-post-release-sync

Merge pull request #27 from drtrt-org/fix-post-release-sync #21

Workflow file for this run

name: Release
on:
push:
branches:
- main
- beta
jobs:
release:
permissions:
id-token: write
contents: write
issues: write
pull-requests: write
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, 'Merge branch ''main'' into beta') }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Release
uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "npm"
- run: npm ci
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}