From 0a7d99f32227901fe0c7bf67b53b2b6e92729a7f Mon Sep 17 00:00:00 2001 From: CJ_Clippy Date: Sat, 15 Jun 2024 11:51:53 -0800 Subject: [PATCH] add CI test --- .gitea/workflows/tests.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitea/workflows/tests.yaml diff --git a/.gitea/workflows/tests.yaml b/.gitea/workflows/tests.yaml new file mode 100644 index 0000000..1944134 --- /dev/null +++ b/.gitea/workflows/tests.yaml @@ -0,0 +1,24 @@ +name: ci + +on: + push: + branches: + - 'main' + schedule: + - cron: '6 */12 * * *' + +jobs: + build: + runs-on: ubuntu-latest + environment: docker + steps: + - uses: actions/checkout@v3 + name: Check out code + + - uses: actions/setup-node@v4 + name: Test the code + with: + node-version: '20.x' + + - run: pnpm install --recursive + - run: pnpm test --filter scout --filter link2cid \ No newline at end of file