v1.6.0 #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Npm Common Publish | |
on: | |
push: | |
tags: | |
- v**-cm | |
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:cm | |
- name: Publish | |
run: cd packages/common && npm publish --access public | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |