Skip to content

Commit

Permalink
add npm tag --next workflow to dev branch
Browse files Browse the repository at this point in the history
  • Loading branch information
bmschmidt committed Apr 1, 2024
1 parent 0a2623b commit fae687b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish to npm

on:
push:
branches:
- dev

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm version prerelease --preid=beta
- run: npm publish --tag next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit fae687b

Please sign in to comment.