From e4053fe1ddf2021c359d996abb838ec6f8a8fe84 Mon Sep 17 00:00:00 2001 From: sebkolind Date: Mon, 27 May 2024 15:36:25 +0200 Subject: [PATCH] ci: add workflows/release-next.yml --- .github/workflows/release-next.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/release-next.yml diff --git a/.github/workflows/release-next.yml b/.github/workflows/release-next.yml new file mode 100644 index 0000000..8f74ab4 --- /dev/null +++ b/.github/workflows/release-next.yml @@ -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 }}