Skip to content

Npm V3 Publish

Npm V3 Publish #10

Workflow file for this run

name: Npm V3 Publish
on:
push:
tags:
- v**-v3
jobs:
publish:
name: Build And Publish
runs-on: ubuntu-latest
steps:
- name: Get Node
uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- name: Checkout Code
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: true
- name: Build
run: npm run build:v3
- name: Publish
run: cd packages/v3 && npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}