Skip to content

Publish to npmjs.com and ghcr.io #9

Publish to npmjs.com and ghcr.io

Publish to npmjs.com and ghcr.io #9

Workflow file for this run

name: Publish to npmjs.com
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: "18.x"
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}