Skip to content

GitHub actions

GitHub actions #1

Workflow file for this run

name: Release
on:
pull_request:
branches:
- master
types:
- closed
jobs:
release:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npx semantic-release --debug