refactor: update package path and bundle folder (#3016)

This commit is contained in:
jeremywu
2021-08-24 13:36:48 +08:00
committed by GitHub
parent 21820acafc
commit b0f4fc5f23
925 changed files with 7289 additions and 7836 deletions

View File

@@ -31,15 +31,12 @@ jobs:
registry-url: https://registry.npmjs.com/
- name: Get version
run: echo "TAG_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: build
run: yarn fast-build
env:
TAG_VERSION: ${{env.TAG_VERSION}}
- name: generate npm token
run: echo "GIT_HEAD=${GITHUB_SHA}" >> GITHUB_ENV
- name: build&publish
run: echo "//registry.npmjs.com/:_authToken=${{ secrets.NPM_PUBLISH_TOKEN }}" > ./.npmrc
- name: Publish npm
run: sh ./scripts/publish.sh
run: sh ./scripts/monorepo.sh
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}}
TAG_VERSION: ${{env.TAG_VERSION}}
GIT_HEAD: ${{env.GIT_HEAD}}
REGISTRY: https://registry.npmjs.com/