Skip to content

Publish Package to npmjs #16

Publish Package to npmjs

Publish Package to npmjs #16

Workflow file for this run

name: Publish Package to npmjs
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/setup-node@v4.0.2
with:
node-version: "20"
registry-url: "https://registry.npmjs.org"
scope: "@apiscp"
- uses: oven-sh/setup-bun@v1.2.2
- run: bun install --frozen-lockfile
- run: bun run publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}