Skip to content

[fix]: changed watch command name #13

[fix]: changed watch command name

[fix]: changed watch command name #13

Workflow file for this run

name: Package Release
on:
pull_request:
branches:
- main
types:
- closed
jobs:
publish_when_merged:
if: ${{ github.event.pull_request.merged == true && github.repository_owner == 'billybillydev' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v3
with:
registry-url: https://registry.npmjs.org
node-version: 20
- name: Install bun
run: npm install -g bun
- name: Install dependencies
run: bun install
- name: Build the package
run: bun run build
- name: Publish package
run: bun ci:release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}