Skip to content

Continuous Delivery

Continuous Delivery #1

Workflow file for this run

name: Continuous Delivery
env:
HUSKY: 0
on:
workflow_run:
workflows: ['Tests']
types: [completed]
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- uses: actions/setup-node@v4
- name: Install dependencies
run: npm ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release