-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove release-it, adjust hubot range
- Loading branch information
1 parent
e0a7515
commit c674fac
Showing
7 changed files
with
205 additions
and
6,541 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
on: | ||
push: | ||
branches: master | ||
|
||
name: npm-publish | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: "20" | ||
- run: npm ci | ||
- run: npm test | ||
- uses: JS-DevTools/npm-publish@v3 | ||
id: publish | ||
with: | ||
token: ${{ secrets.NPM_AUTH_TOKEN }} | ||
- if: ${{ steps.publish.outputs.type }} | ||
name: Create Release | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
run: | | ||
VERSION="v${{ steps.publish.outputs.version }}" | ||
gh release create $VERSION --generate-notes |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.