From e2a1776d0de657669192d3cfd1558e91905b5fad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Claud=C3=A9ric=20Demers?= Date: Mon, 3 Jun 2024 11:56:06 -0400 Subject: [PATCH] Add release workflow for experimental branch --- .github/workflows/release-experimental.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/release-experimental.yml diff --git a/.github/workflows/release-experimental.yml b/.github/workflows/release-experimental.yml new file mode 100644 index 00000000..e65e977e --- /dev/null +++ b/.github/workflows/release-experimental.yml @@ -0,0 +1,22 @@ +name: Release experimental branch +on: + push: + branches: + - experimental +jobs: + release: + runs-on: ubuntu-latest + environment: production + steps: + - uses: actions/checkout@v1 + - uses: oven-sh/setup-bun@v1 + - run: bun install && bun run build + + - name: Publish packages on npm with @beta tag + run: | + bun run version-packages:beta + bun run release:beta + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }}