Skip to content
This repository was archived by the owner on Feb 15, 2025. It is now read-only.

Commit 2e75d78

Browse files
committed
updated workflow
1 parent b1c118c commit 2e75d78

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.github/workflows/create-release-pr.yaml renamed to .github/workflows/release.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
# Create Release Pull Request
2929
- name: 📤 Create Pull Request
3030
uses: changesets/action@master
31+
with:
32+
publish: yarn release
3133
env:
3234
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
3336

.github/workflows/test-all-packages.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ jobs:
2424
- name: ⏳ Install
2525
run: yarn install
2626

27-
# Run Tests
27+
# Run Tests
2828
- name: 🤔 Test
29-
run: yarn test
29+
run: yarn test
30+
31+
# Build Packages for Testing
32+
- name: 🔨 Build Packages
33+
run: yarn run build

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"build": "lerna run build",
1010
"watch": "lerna run watch",
1111
"test": "jest",
12+
"release": "lerna run build && changeset publish",
1213
"new-version": "lerna version --conventional-commits --no-git-tag-version --yes",
1314
"dev-publish": "lerna run build && lerna run dev-publish",
1415
"dev-push": "lerna run build && lerna run dev-push",

0 commit comments

Comments
 (0)