Skip to content

Commit 18b2774

Browse files
committed
chore(ci): update deploy
1 parent 7f01653 commit 18b2774

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
registry-url: 'https://registry.npmjs.org'
2525

2626
- name: Update npm
27-
run: npm install -g npm@latest pnpm
27+
run: npm install -g npm@latest
2828

2929
- name: Extract version from tag
3030
id: tag_version
@@ -36,18 +36,17 @@ jobs:
3636
echo "Extracted version: $VERSION from tag: $TAG_NAME"
3737
3838
- name: Install dependencies
39-
run: pnpm install
39+
run: npm install
4040

4141
- name: Build workspaces
42-
run: pnpm run build
42+
run: npm run build
4343

4444
- name: Publish packages
4545
run: |
4646
VERSION="${{ steps.tag_version.outputs.version }}"
4747
IS_STABLE=$(echo "$VERSION" | grep -Eq '^[0-9]+\.[0-9]+\.[0-9]+$' && echo true || echo false)
4848
4949
echo "Publishing... $IS_STABLE"
50-
cd packages/cli
5150
if [ "$IS_STABLE" = "true" ]; then
5251
npm publish --provenance --access public
5352
else

0 commit comments

Comments
 (0)