Skip to content

Commit

Permalink
Remove release-it, adjust hubot range
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenyeargin committed Dec 17, 2023
1 parent 3a09dde commit ddfe889
Show file tree
Hide file tree
Showing 5 changed files with 1,514 additions and 8,582 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/npm-publish.yml
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
8 changes: 0 additions & 8 deletions .release-it.json

This file was deleted.

Loading

0 comments on commit ddfe889

Please sign in to comment.