Skip to content

Commit

Permalink
fix: install local package in the test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ytkimirti committed Sep 30, 2024
1 parent f4a5d21 commit 5f7c940
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ jobs:
- name: Publish
if: "!github.event.release.prerelease"
run: npm publish --access public
working-directory: ./dist

- name: Publish release candidate
if: "github.event.release.prerelease"
run: npm publish --access public --tag=next
working-directory: ./dist
8 changes: 8 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ jobs:
run: pnpm install
working-directory: examples/cloudflare-workers

- name: Install local package
run: pnpm install
working-directory: examples/cloudflare-workers

- name: Local build
run: sh ./test.sh
working-directory: examples/cloudflare-workers
Expand Down Expand Up @@ -101,5 +105,9 @@ jobs:
run: pnpm install
working-directory: examples/nextjs

- name: Install local package
run: pnpm install ../../dist
working-directory: examples/nextjs

- name: Local build
run: pnpm run build

0 comments on commit 5f7c940

Please sign in to comment.