Skip to content

Merge pull request #651 from IceEnd/bugfix/648 #58

Merge pull request #651 from IceEnd/bugfix/648

Merge pull request #651 from IceEnd/bugfix/648 #58

Workflow file for this run

name: npm publish
on:
push:
tags:
- v*
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
node-version: '14.x'
check-latest: true
registry-url: 'https://registry.npmjs.org'
- name: install
run: |
npm install -g [email protected]
pnpm i --filter "wujie-project" --filter "./packages/**" --no-frozen-lockfile
- name: publish to npm
run: |
./node_modules/.bin/lerna run prepack
./node_modules/.bin/lerna publish from-package --no-verify-access --ignore-scripts --create-release github -y
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}