-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
55034b1
commit c230dd1
Showing
4 changed files
with
17 additions
and
6 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 |
---|---|---|
|
@@ -15,11 +15,18 @@ jobs: | |
with: | ||
node-version: 'lts/*' | ||
registry-url: https://registry.npmjs.org/ | ||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: latest | ||
- run: pnpm install | ||
- run: pnpm test | ||
- run: git config --global user.email "[email protected]" | ||
- run: git config --global user.name "Github Action" | ||
- run: | | ||
pnpm version prerelease --no-git-tag-version \ | ||
--preid=`git rev-parse --short HEAD` | ||
pnpm release -- --tag next | ||
git commit package.json -m "next tag" | ||
pnpm publish --tag next | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.npm_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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,10 @@ jobs: | |
with: | ||
node-version: 'lts/*' | ||
registry-url: https://registry.npmjs.org/ | ||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: latest | ||
- run: pnpm install | ||
- run: pnpm release | ||
env: | ||
|
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
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