From c894999f8752ebfeb0e6d0a2b6b84542861e7f32 Mon Sep 17 00:00:00 2001 From: Drew Galbraith Date: Wed, 24 Sep 2025 01:36:12 -0700 Subject: [PATCH] Forgejo Action: Run just check. --- .forgejo/workflows/ci.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .forgejo/workflows/ci.yml diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml new file mode 100644 index 0000000..11019bf --- /dev/null +++ b/.forgejo/workflows/ci.yml @@ -0,0 +1,35 @@ +name: CI + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + check: + runs-on: docker + + steps: + - uses: actions/checkout@v4 + + - name: Install Rust + uses: https://github.com/dtolnay/rust-toolchain@stable + with: + toolchain: stable + - run: cargo install just + + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: '18' + cache: 'npm' + cache-dependency-path: 'frontend/package-lock.json' + + - name: Install frontend dependencies + run: | + cd frontend + npm ci + + - name: Run just check + run: just check