Skip to content

Commit ee683ae

Browse files
committed
update publish script
1 parent 805eb33 commit ee683ae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,14 @@ jobs:
3131
registry-url: https://registry.npmjs.org
3232
- run: npm i -g pnpm && pnpm i --ignore-scripts
3333
name: Install dependencies
34+
- run: pnpm build --filter esbuild-plugin-react18-example
35+
name: build example app to run tests
36+
working-directory: .
3437
# fail and not publish if any of the unit tests are failing
3538
- name: Test
3639
run: pnpm test
3740
- name: Update topics and Publish to NPM
38-
run: pnpm build && pnpm publish-package
41+
run: pnpm publish-package
3942
# continue on error to publish scoped package name <- by default repo is setup for a non-scoped + scoped package name
4043
continue-on-error: true
4144
env:

0 commit comments

Comments
 (0)