Skip to content

Release

Release #162

Workflow file for this run

name: Release
on:
workflow_run:
workflows: ["Node.js CI"]
types: [completed]
jobs:
release:
name: Release
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 18
- name: Install
run: npm ci
- name: Build
run: make build
- name: Release
env:
GH_TOKEN: ${{ secrets.CI_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm run semantic-release