Skip to content

Release

Release #4

Workflow file for this run

name: Release
on:
pull_request:
types: [closed]
branches:
- main
workflow_dispatch:
jobs:
Release:
name: 🚀 Release
if: github.event.pull_request.merged && startsWith(github.head_ref, 'release-please--branches--main')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: "yarn"
- name: Install Dependencies
run: yarn install --immutable
- name: Publish package
run: npm publish
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}