Skip to content

Commit

Permalink
Add test for frontend freshness
Browse files Browse the repository at this point in the history
  • Loading branch information
theodore-s-beers committed Feb 5, 2024
1 parent 6ff1561 commit b46322e
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/frontend_freshness.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Ensure website is up to date

on:
push:
branches:
- frontend
schedule:
- cron: "9 6 * * 3"
workflow_dispatch:

jobs:
test:
name: Verify data freshness

runs-on: ubuntu-latest

steps:
- name: Check out repo
uses: actions/checkout@v4
with:
ref: frontend

- name: Set up Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x

- name: Run test
run: deno test --allow-read deno/date_test.ts

0 comments on commit b46322e

Please sign in to comment.