Skip to content

Commit dd54a0f

Browse files
committed
Merge remote-tracking branch 'origin/develop'
2 parents 2c4d8b0 + c36c473 commit dd54a0f

File tree

278 files changed

+11980
-8397
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

278 files changed

+11980
-8397
lines changed

.github/workflows/npmpublish.yml

+14-16
Original file line numberDiff line numberDiff line change
@@ -11,36 +11,34 @@ on:
1111
- '**/.npmignore'
1212

1313
jobs:
14-
build:
15-
runs-on: ubuntu-latest
16-
steps:
17-
- uses: actions/checkout@v1
18-
- uses: actions/setup-node@v1
19-
with:
20-
node-version: 10
21-
- run: npm i
22-
2314
publish-npm:
24-
needs: build
2515
runs-on: ubuntu-latest
2616
steps:
27-
- uses: actions/checkout@v1
28-
- uses: actions/setup-node@v1
17+
- name: Checkout develop branch
18+
uses: actions/checkout@v1
19+
with:
20+
ref: develop
21+
fetch-depth: 1
22+
- name: Setup node
23+
uses: actions/setup-node@v1
2924
with:
3025
node-version: 10
3126
registry-url: https://registry.npmjs.org/
27+
- name: Install dependencies
28+
run: |
29+
npm install
3230
- name: Build packages
3331
run: |
3432
npm run dist
3533
node scripts/cp-pkgs.js
3634
node scripts/verify-pkg-main.js
37-
- name: Creating release
35+
- name: Create release
3836
run: |
39-
lerna version premajor --no-git-tag-version --no-push --preid canary.$(git rev-parse --short HEAD) --yes --exact
37+
npx lerna version premajor --no-git-tag-version --no-push --preid canary.$(git rev-parse --short HEAD) --yes --exact
4038
git config --local user.email "action@github.com"
4139
git config --local user.name "GitHub Action"
4240
git commit -am "chore: Publish"
43-
- name: Publishing to NPM registry
44-
run: lerna publish from-package --yes --dist-tag canary
41+
- name: Publish to NPM registry
42+
run: npx lerna publish from-package --yes --dist-tag canary
4543
env:
4644
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)