fp/.gitea/workflows/tests.yaml

36 lines
717 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:12:01 +00:00
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
run_install: |
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
2024-06-15 20:03:31 +00:00
- 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