Skip to content

Commit

Permalink
Merge pull request #171 from stephenyeargin/update-release-tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenyeargin authored Dec 17, 2023
2 parents 5539bc5 + fcb950a commit 87e8221
Show file tree
Hide file tree
Showing 5 changed files with 121 additions and 3,126 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 87e8221

Please sign in to comment.