fp/.gitea/workflows/tests.yaml

31 lines
558 B
YAML
Raw Normal View History

2024-06-15 19:51:53 +00:00
name: ci
on:
push:
branches:
- 'main'
schedule:
- cron: '6 */12 * * *'
jobs:
build:
runs-on: ubuntu-latest
environment: docker
steps:
2024-06-15 20:03:31 +00:00
- name: Check out code
uses: actions/checkout@v3
2024-06-15 19:51:53 +00:00
2024-06-15 20:03:31 +00:00
- name: Enable Corepack
run: corepack enable
- name: Setup node
uses: actions/setup-node@v4
2024-06-15 19:51:53 +00:00
with:
node-version: '20.x'
2024-06-15 20:03:31 +00:00
cache: 'pnpm'
- name: Test scout
run: pnpm install --filter scout
2024-06-15 19:51:53 +00:00
2024-06-15 20:03:31 +00:00
- name: Test link2cid
run: pnpm test --filter link2cid