Skip to content

Commit 1f5bdbc

Browse files
committed
fix github release workflow
1 parent 9ceacf2 commit 1f5bdbc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ jobs:
3030
run: pnpm install --frozen-lockfile
3131

3232
- name: Build package
33-
run: cd core && pnpm build
33+
run: pnpm build
3434

3535
- name: Check if version changed
3636
id: version-check
3737
run: |
38-
CURRENT_VERSION=$(cd core && node -p "require('./package.json').version")
38+
CURRENT_VERSION=$(node -p "require('./package.json').version")
3939
echo "current_version=$CURRENT_VERSION" >> $GITHUB_OUTPUT
4040
4141
# Check if tag already exists
@@ -58,6 +58,6 @@ jobs:
5858

5959
- name: Publish to npm
6060
if: steps.version-check.outputs.version_changed == 'true'
61-
run: cd core && pnpm publish --no-git-checks --access public
61+
run: pnpm publish --no-git-checks --access public
6262
env:
6363
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)