Skip to content

Release Package

Release Package #6

Workflow file for this run

name: Release Package
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://npm.pkg.github.com'
scope: '@kyechan99'
- name: Install pnpm
run: |
npm install -g pnpm
- name: Install Packages
run: pnpm install
- run: pnpm buildOnce
- run: pnpm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}