Skip to content

Commit 15f2085

Browse files
committed
feat: group all scheduled deno jobs
1 parent d8ec586 commit 15f2085

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: DCR Fronts Ophan Components
1+
name: Scheduled daily jobs
22
on:
33
schedule:
44
# Every work day of the week at 08:08
@@ -8,7 +8,7 @@ on:
88
workflow_dispatch:
99

1010
jobs:
11-
ophan-components:
11+
scheduled:
1212
runs-on: ubuntu-20.04
1313
steps:
1414
- name: Checkout
@@ -17,9 +17,9 @@ jobs:
1717
- name: Setup deno
1818
uses: denolib/setup-deno@v2
1919
with:
20-
deno-version: v1.21.0
20+
deno-version: v1.25.0
2121

22-
- name: Compare Ophan components
23-
run: scripts/ci-ophan.sh
22+
- name: Run Deno scripts
23+
run: scripts/ci-deno.sh
2424
env:
2525
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

scripts/ci-ophan.sh renamed to scripts/ci-deno.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,9 @@ deno run \
55
--allow-net=www.theguardian.com,api.github.com \
66
--allow-env="GITHUB_TOKEN" \
77
scripts/deno/ophan-components.ts
8+
9+
deno run \
10+
--no-check=remote \
11+
--allow-net=www.theguardian.com,api.github.com \
12+
--allow-env="GITHUB_TOKEN" \
13+
scripts/deno//thrasher-tracker.ts

0 commit comments

Comments
 (0)