Skip to content

Commit

Permalink
enable changesets for all packages
Browse files Browse the repository at this point in the history
  • Loading branch information
dale-french committed Jul 25, 2024
1 parent 71ad4ee commit 55cee20
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,8 @@ jobs:
- name: Install dependencies
run: yarn install

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

- name: Test lib package
run: yarn workspace opticks test

- name: Build cli package
run: yarn workspace opticks-cli build

- name: Test cli package
run: yarn workspace opticks-cli test
- name: Test all packages
run: yarn workspaces foreach -A run test
9 changes: 7 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,17 @@ jobs:
corepack --version
yarn --version
- run: yarn install
- name: Install dependencies
run: yarn install

- name: Build all packages
run: yarn workspaces foreach -A run build

- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
with:
publish: yarn workspace opticks release
publish: npx changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 55cee20

Please sign in to comment.