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:
|
|
|
|
run_install: |
|
|
|
|
- recursive: true
|
|
|
|
args: [--frozen-lockfile, --strict-peer-dependencies]
|
2024-06-15 20:03:31 +00:00
|
|
|
|
|
|
|
- name: Test scout
|
2024-06-15 21:58:07 +00:00
|
|
|
run: pnpm test --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
|