Skip to content

Commit d0770da

Browse files
committed
Replace scheduled tests with CI
1 parent 51dd709 commit d0770da

2 files changed

Lines changed: 11 additions & 26 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
name: CI
22

3-
on: push
3+
on:
4+
push:
5+
schedule:
6+
- cron: "0 0 */15 * *" # tous les 15 jours du mois, en UTC
7+
workflow_dispatch:
8+
9+
concurrency:
10+
group: ci-${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
412

513
jobs:
614
ci:
@@ -9,7 +17,7 @@ jobs:
917
strategy:
1018
fail-fast: false
1119
matrix:
12-
check: [typecheck, ci:lint, ci:test]
20+
check: ["typecheck", "ci:lint", "ci:test"]
1321
steps:
1422
- uses: actions/checkout@v4
1523
with:
@@ -18,7 +26,7 @@ jobs:
1826
- uses: actions/setup-node@v4
1927
with:
2028
node-version-file: ".nvmrc"
21-
cache: "npm"
29+
cache: "pnpm"
2230
cache-dependency-path: pnpm-lock.yaml
2331
- run: pnpm install --frozen-lockfile
2432
- run: pnpm run build

.github/workflows/scheduled-tests.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)