From f7f15f0af4b62af1f20393ce80598151f83195a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8r=E2=88=82=C2=A1?= Date: Fri, 1 Nov 2024 13:08:02 +0400 Subject: [PATCH] Allowing to archive the build --- .github/workflows/archive.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/archive.yml diff --git a/.github/workflows/archive.yml b/.github/workflows/archive.yml new file mode 100644 index 0000000..0591869 --- /dev/null +++ b/.github/workflows/archive.yml @@ -0,0 +1,30 @@ +name: CI + +on: push +jobs: + tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Install node + uses: actions/setup-node@v1 + with: + node-version: 16 + - name: Install dependencies + run: yarn install --frozen-lockfile + - name: Build ANT Redemption Portal + run: yarn build + - name: Run BundleWatch + run: yarn bundlewatch + - name: Run tests + run: yarn test + - name: Archive build + uses: actions/upload-artifact@v4 + with: + name: ant-portal + path: build/ + retention-days: 1 + + env: + CI: true + BUNDLEWATCH_GITHUB_TOKEN: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}