Skip to content

Merge pull request #28 from patrickcate/develop #1

Merge pull request #28 from patrickcate/develop

Merge pull request #28 from patrickcate/develop #1

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
branches:
- main
- alpha
- beta
jobs:
release:
if: contains(github.event.head_commit.message, 'skip release') == false
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.SEMANTIC_RELEASE_GH_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GH_TOKEN }}
NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}
run: npm run semantic-release