Skip to content

Commit

Permalink
Allowing to archive the build
Browse files Browse the repository at this point in the history
  • Loading branch information
brickpop committed Nov 1, 2024
1 parent 686dabe commit f7f15f0
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/archive.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit f7f15f0

Please sign in to comment.