Files
quartznet-info/.gitea/workflows/build.yml
Chris Dill c1e24fafda
All checks were successful
Build / build (push) Successful in 17s
Update build
2026-01-17 21:34:04 +00:00

45 lines
1.1 KiB
YAML

name: Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup pnpm
uses: https://github.com/pnpm/action-setup@v4
with:
version: 9
run_install: false
- name: Setup node
uses: https://github.com/actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Build projects
run: pnpm run build
- name: Run checks
run: pnpm run check
- name: Upload artifacts
run: |
tar -czf build.tar.gz build
curl --user minijack:${{ secrets.PACKAGE_TOKEN }} \
--upload-file build.tar.gz \
https://git.quartznet.info/api/packages/quartznet/generic/artifacts/ref-${{ gitea.sha }}/build-${{ gitea.sha }}.tar.gz
echo https://git.quartznet.info/api/packages/quartznet/generic/artifacts/ref-${{ gitea.sha }}/build-${{ gitea.sha }}.tar.gz