mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 16:38:19 +01:00
feat: staging builds
This commit is contained in:
parent
92db74acf3
commit
5b6a7557bb
34
.github/workflows/staging.yml
vendored
Normal file
34
.github/workflows/staging.yml
vendored
Normal 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
|
||||||
Loading…
Reference in a new issue