diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 44ef27d..7ecb0e6 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -39,7 +39,7 @@ jobs: - if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }} name: Install dependencies - run: yarn install + run: yarn workspaces focus - name: Linter run: yarn eslint:check diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f8ac205..fb8dfbe 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -24,14 +24,10 @@ jobs: cache: 'npm' - name: Install dependencies - run: npm ci - - - name: Create changeset version - id: changeset - run: npx changeset version + run: yarn workspaces focus - name: Build package - run: npm run build + run: yarn build - name: Publish to npm env: @@ -46,7 +42,7 @@ jobs: fi - name: Publish package to npm - run: npm publish --access public + run: yarn publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}