Skip to content

Commit 13f8f27

Browse files
committed
Update script with correct path
1 parent 1fa5c49 commit 13f8f27

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish package
1+
name: Publish uniwind-next-plugin
22

33
on:
44
workflow_dispatch:
@@ -22,6 +22,8 @@ jobs:
2222
- name: Automatic GitHub Release
2323
uses: justincy/github-action-npm-release@2.0.2
2424
id: release
25+
with:
26+
path: packages/uniwind-plugin-next
2527
- name: Print release output
2628
if: ${{ steps.release.outputs.released == 'true' }}
2729
run: echo Release ID ${{ steps.release.outputs.release_id }}
@@ -43,11 +45,14 @@ jobs:
4345
node-version: '24'
4446
registry-url: 'https://registry.npmjs.org'
4547

46-
- name: Install dependencies
47-
run: pnpm install
48+
- uses: pnpm/action-setup@v4
49+
name: Install pnpm
50+
with:
51+
package_json_file: "packages/uniwind-plugin-next/package.json"
4852

4953
- name: Build project
50-
run: pnpm build:packages
54+
working-directory: packages/uniwind-plugin-next
55+
run: pnpm run build
5156

5257
- name: Publish to npm
5358
working-directory: packages/uniwind-plugin-next

0 commit comments

Comments
 (0)