Skip to content

Commit

Permalink
Update npm-publish-github-packages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphschuler committed Nov 20, 2023
1 parent 36fc8ee commit 498377c
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: ${{env.NODE_VERSION}}
cache: 'yarn'
- run: corepack enable
cache: "yarn"

- run: yarn workspace @lib-lib/${{ matrix.package }} install
- run: yarn workspace @lib-lib/${{ matrix.package }} format
- run: yarn workspace @lib-lib/${{ matrix.package }} lint
Expand All @@ -56,8 +56,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: ${{env.NODE_VERSION}}
cache: 'yarn'
- run: corepack enable
cache: "yarn"
- run: yarn workspace @lib-lib/${{ matrix.package }} install
- run: yarn workspace @lib-lib/${{ matrix.package }} build
- run: yarn workspace @lib-lib/${{ matrix.package }} test
Expand All @@ -81,8 +80,8 @@ jobs:
with:
node-version: ${{env.NODE_VERSION}}
registry-url: https://npm.pkg.github.com/
cache: 'yarn'
- run: corepack enable
cache: "yarn"

- run: yarn workspace @lib-lib/${{ matrix.package }} install
- run: yarn workspace @lib-lib/${{ matrix.package }} publish
env:
Expand Down

0 comments on commit 498377c

Please sign in to comment.