Skip to content

Commit

Permalink
Broaden hubot version range
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenyeargin committed Dec 17, 2023
1 parent 4931f9d commit 245392a
Show file tree
Hide file tree
Showing 5 changed files with 1,447 additions and 9,164 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: main

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 245392a

Please sign in to comment.