-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use zx and semver packages when releasing. (#105)
- Loading branch information
1 parent
edfb368
commit 2823364
Showing
2 changed files
with
9 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,13 +25,11 @@ jobs: | |
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
- id: install-zx | ||
run: npm i -g zx | ||
- id: install-semver-tool | ||
run: | | ||
wget -O /usr/local/bin/semver https://raw.githubusercontent.com/fsaintjacques/semver-tool/master/src/semver | ||
chmod +x /usr/local/bin/semver | ||
- run: zx ./release.mjs -v $VERSION_TO_BUMP | ||
registry-url: https://registry.npmjs.org/ | ||
- name: Install dependencies | ||
run: yarn add -D -E [email protected] [email protected] | ||
- name: Run release script | ||
run: yarn zx ./release.mjs -v $VERSION_TO_BUMP | ||
env: | ||
VERSION_TO_BUMP: ${{ inputs.versionToBump }} | ||
GH_TOKEN: ${{ github.token }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters