diff --git a/packages/lib/.changeset/config.json b/.changeset/config.json similarity index 100% rename from packages/lib/.changeset/config.json rename to .changeset/config.json diff --git a/packages/lib/.changeset/wet-dots-draw.md b/.changeset/wet-dots-draw.md similarity index 100% rename from packages/lib/.changeset/wet-dots-draw.md rename to .changeset/wet-dots-draw.md diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7944666..34f4a82 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e5e50fc..8338260 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 }} diff --git a/packages/cli/package.json b/packages/cli/package.json index 4d3d069..19694d5 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "opticks-cli", - "version": "1.0.0", + "version": "0.0.1", "description": "The Opticks Command Line Interface", "main": "dist/index.mjs", "bin": "dist/index.mjs",