Skip to content

NPM-PUBLISH

NPM-PUBLISH #16

Workflow file for this run

name: NPM-PUBLISH
on:
create:
tags:
- 'v*'
- '!v*-alpha'
- '!v*-beta'
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
registry-url: https://registry.npmjs.org/
- run: npm ci
- name: build
run: npm run build -w=@cmfx/admin
- name: publish
run: npm publish --access=public -w=@cmfx/admin
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH }}