From 685b847313f0235cd130f4e9bf7e84e1f97a3c5d Mon Sep 17 00:00:00 2001 From: Priyansh Garg Date: Thu, 29 Jun 2023 15:46:03 +0530 Subject: [PATCH] Add nightly release github action --- .github/workflows/nightly.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/nightly.yml diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml new file mode 100644 index 0000000000..cb323d64a9 --- /dev/null +++ b/.github/workflows/nightly.yml @@ -0,0 +1,26 @@ +name: Nightly + +on: workflow_dispatch + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: '18.x' + - name: Install dependencies + run: npm install + - name: Create publishable package 📦 + run: npm pack + - name: Release Nightly + uses: marvinpinto/action-automatic-releases@latest + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + automatic_release_tag: "nightly" + title: "Nightly" + prerelease: true + files: '*.tgz'