Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Control Flow

Control Flow #12

Workflow file for this run

name: Publish
on:
release:
types: [published]
jobs:
github:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
ref: build
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://npm.pkg.github.com'
- name: Installing Dependencies
run: |
corepack enable
- name: Publishing Package
run: pnpm publish --publish-branch build
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}