Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions .github/workflows/build-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ name: Packages Deploy
on:
push:

env:
SECRETS: ${{ toJSON(secrets) }}

jobs:
build:
name: Build Packages
Expand All @@ -25,7 +22,7 @@ jobs:
run: |
npm install -g yarn
echo "Yarn version: $(yarn -v)"
echo "//registry.npmjs.org/:_authToken=${{SECRETS.NPM_TOKEN}}" >> ~/.npmrc
echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> ~/.npmrc

- name: Install Dependencies
run: yarn install --frozen-lockfile
Expand All @@ -52,7 +49,7 @@ jobs:
run: |
npm install -g yarn
echo "Yarn version: $(yarn -v)"
echo "//registry.npmjs.org/:_authToken=${{SECRETS.NPM_TOKEN}}" >> ~/.npmrc
echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> ~/.npmrc

- name: Install Dependencies
run: yarn install --frozen-lockfile
Expand All @@ -61,4 +58,4 @@ jobs:
run: yarn build:packages

- name: Publish
run: lerna exec "npm publish --tag=latest --no-git-checks"
run: lerna exec "npm publish --tag=latest --no-git-checks" --parallel
5 changes: 1 addition & 4 deletions .github/workflows/dev-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: Packages Deploy

on: workflow_dispatch

env:
SECRETS: ${{ toJSON(secrets) }}

jobs:
publish:
name: Publish Dev Packages
Expand All @@ -23,7 +20,7 @@ jobs:
run: |
npm install -g yarn
echo "Yarn version: $(yarn -v)"
echo "//registry.npmjs.org/:_authToken=${{SECRETS.NPM_TOKEN}}" >> ~/.npmrc
echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> ~/.npmrc

- name: Install Dependencies
run: yarn install --frozen-lockfile
Expand Down