feat: staging builds

This commit is contained in:
April John 2024-08-13 13:19:13 +02:00
parent 92db74acf3
commit 5b6a7557bb
2 changed files with 59 additions and 25 deletions

View file

@ -1,13 +1,13 @@
name: Check Types
name: Check Types
on:
on:
push:
branches: ["*"]
pull_request:
# The branches below must be a subset of the branches above
branches: ["main"]
jobs:
jobs:
tests:
runs-on: ubuntu-latest
permissions:

34
.github/workflows/staging.yml vendored Normal file
View file

@ -0,0 +1,34 @@
name: Check Types
on:
push:
branches: ["staging"]
jobs:
tests:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Bun
uses: oven-sh/setup-bun@v2
- name: Install NPM packages
run: |
bun install
- name: Bundle
run: |
tar -xJf archive.tar.xz dist/ config/ CODE_OF_CONDUCT.md CONTRIBUTING.md README.md flake.nix shell.nix flake.lock docs/ LICENSE SECURITY.md
- name: Upload
uses: actions/upload-artifact@v4
with:
name: staging-dist
path: archive.tar.xz