Skip to content

Commit 55cee20

Browse files
committed
enable changesets for all packages
1 parent 71ad4ee commit 55cee20

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

Diff for: .github/workflows/main.yml

+4-10
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,8 @@ jobs:
2222
- name: Install dependencies
2323
run: yarn install
2424

25-
- name: Build lib package
26-
run: yarn workspace opticks build
25+
- name: Build all packages
26+
run: yarn workspaces foreach -A run build
2727

28-
- name: Test lib package
29-
run: yarn workspace opticks test
30-
31-
- name: Build cli package
32-
run: yarn workspace opticks-cli build
33-
34-
- name: Test cli package
35-
run: yarn workspace opticks-cli test
28+
- name: Test all packages
29+
run: yarn workspaces foreach -A run test

Diff for: .github/workflows/publish.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,17 @@ jobs:
2727
corepack --version
2828
yarn --version
2929
30-
- run: yarn install
30+
- name: Install dependencies
31+
run: yarn install
32+
33+
- name: Build all packages
34+
run: yarn workspaces foreach -A run build
35+
3136
- name: Create Release Pull Request or Publish
3237
id: changesets
3338
uses: changesets/action@v1
3439
with:
35-
publish: yarn workspace opticks release
40+
publish: npx changeset publish
3641
env:
3742
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3843
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)