Skip to content

Merge branch 'main' of https://github.com/jamesbuddrige/semantic-rele… #24

Merge branch 'main' of https://github.com/jamesbuddrige/semantic-rele…

Merge branch 'main' of https://github.com/jamesbuddrige/semantic-rele… #24

Workflow file for this run

name: Release
on:
push:
branches:
- main
- prod
permissions:
contents: read # for checkout
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Semantic Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}