Skip to content

Commit 7f00136

Browse files
update packages workflow
1 parent 865f1e3 commit 7f00136

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/build-packages.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ name: Packages Deploy
33
on:
44
push:
55

6-
env:
7-
SECRETS: ${{ toJSON(secrets) }}
8-
96
jobs:
107
build:
118
name: Build Packages
@@ -25,7 +22,7 @@ jobs:
2522
run: |
2623
npm install -g yarn
2724
echo "Yarn version: $(yarn -v)"
28-
echo "//registry.npmjs.org/:_authToken=${{SECRETS.NPM_TOKEN}}" >> ~/.npmrc
25+
echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> ~/.npmrc
2926
3027
- name: Install Dependencies
3128
run: yarn install --frozen-lockfile
@@ -52,7 +49,7 @@ jobs:
5249
run: |
5350
npm install -g yarn
5451
echo "Yarn version: $(yarn -v)"
55-
echo "//registry.npmjs.org/:_authToken=${{SECRETS.NPM_TOKEN}}" >> ~/.npmrc
52+
echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> ~/.npmrc
5653
5754
- name: Install Dependencies
5855
run: yarn install --frozen-lockfile
@@ -61,4 +58,4 @@ jobs:
6158
run: yarn build:packages
6259

6360
- name: Publish
64-
run: lerna exec "npm publish --tag=latest --no-git-checks"
61+
run: lerna exec "npm publish --tag=latest --no-git-checks" --parallel

0 commit comments

Comments
 (0)