Skip to content

Commit 9adc0ba

Browse files
Merge pull request #3 from journeyapps/update-secrets
[Fix] Packages Deploy
2 parents 865f1e3 + 944fc72 commit 9adc0ba

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
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

.github/workflows/dev-packages.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ name: Packages Deploy
22

33
on: workflow_dispatch
44

5-
env:
6-
SECRETS: ${{ toJSON(secrets) }}
7-
85
jobs:
96
publish:
107
name: Publish Dev Packages
@@ -23,7 +20,7 @@ jobs:
2320
run: |
2421
npm install -g yarn
2522
echo "Yarn version: $(yarn -v)"
26-
echo "//registry.npmjs.org/:_authToken=${{SECRETS.NPM_TOKEN}}" >> ~/.npmrc
23+
echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> ~/.npmrc
2724
2825
- name: Install Dependencies
2926
run: yarn install --frozen-lockfile

0 commit comments

Comments
 (0)