Skip to content

Commit

Permalink
ci: add workflows/release-next.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sebkolind committed May 27, 2024
1 parent bfd789e commit e4053fe
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release-next.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build and Release (next)

on:
push:
branches:
- next
tags:
- v*-[0-9] # v0.0.3-1, v0.0.3-2, etc.

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 run build
- run: npm run test
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}

0 comments on commit e4053fe

Please sign in to comment.