feat: build using forgejo actions

This commit is contained in:
Troy 2025-03-08 14:53:12 +00:00
parent 8e0822244f
commit c6dec071bb
Signed by: troy
GPG key ID: DFC06C02ED3B4711
4 changed files with 3 additions and 25 deletions

View file

@ -0,0 +1,23 @@
name: Test
on:
pull_request:
workflow_call:
permissions:
contents: read
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "latest"
- name: Run npm clean install and build
run: |
npm ci
npm run build