Skip to content

Commit

Permalink
chore(ci): update CI workflow to use nightly-release change the scrip…
Browse files Browse the repository at this point in the history
…t name (#806)

<!--
☝️ PR title should follow conventional commits (https://conventionalcommits.org).
In particular, the title should start with one of the following types:

- docs: 📖 Documentation (updates to the documentation or readme)
- fix: 🐞 Bug fix (a non-breaking change that fixes an issue)
- feat: ✨ New feature/enhancement (a non-breaking change that adds functionality or improves existing one)
- feat!/fix!: ⚠️ Breaking change (fix or feature that would cause existing functionality to change)
- chore: 🧹 Chore (updates to the build process or auxiliary tools and libraries)
-->

### 🔗 Linked issue

<!-- If it resolves an open issue, please link the issue here. For example "Resolves #123" -->

### 📚 Description

to avoid any confusion with prerelease, when runing pnpm release, i faced a weird issue while releasing
  • Loading branch information
chakAs3 authored Oct 19, 2024
1 parent 3161fed commit b134275
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ jobs:
matrix.os == 'ubuntu-latest' &&
!contains(github.event.head_commit.message, '[skip-release]') &&
!startsWith(github.event.head_commit.message, 'docs')
run: pnpm prerelease
run: pnpm nightly-release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"lint:prettier": "prettier --check .",
"lint:fix": "pnpm lint:eslint --fix && pnpm lint:prettier --write",
"release": "pnpm jiti prepare-release.ts && pnpm publish --recursive && git push --follow-tags",
"prerelease": "pnpm jiti prepare-release.ts --nightly && pnpm publish --recursive --tag nightly --access public --no-git-checks --provenance --report-summary",
"nightly-release": "pnpm jiti prepare-release.ts --nightly && pnpm publish --recursive --tag nightly --access public --no-git-checks --provenance --report-summary",
"prepare": "pnpm run --filter=./playground/** prepare",
"docs:dev": "pnpm run --filter=./docs/** dev",
"docs:build": "pnpm run --filter=./docs/** build",
Expand Down

0 comments on commit b134275

Please sign in to comment.