Skip to content

Commit

Permalink
WIP: use release-it to also have github releases
Browse files Browse the repository at this point in the history
Closes: #279
  • Loading branch information
csett86 committed Nov 20, 2022
1 parent 91c63c8 commit 3e4be28
Show file tree
Hide file tree
Showing 3 changed files with 6,541 additions and 198 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:
path: prebuilds/
publish:
name: Publish to npm
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
runs-on: ubuntu-20.04
needs: build
steps:
Expand All @@ -50,15 +49,11 @@ jobs:
with:
name: prebuilds
path: prebuilds
- uses: phips28/gh-action-bump-version@608cab1205a5560a93eb66b4a64e4acf2119597b
with:
tag-prefix: 'v'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v2
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- run: npm publish --access public
- run: npm run release --dry-run
- run: npm publish --access public --dry-run
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Loading

0 comments on commit 3e4be28

Please sign in to comment.