Skip to content

Added a whole year of French Daily Articles ! #30

Added a whole year of French Daily Articles !

Added a whole year of French Daily Articles ! #30

name: Check new daily exist
on:
push:
branches:
- "master"
paths: 'public/daily/**'
pull_request:
branches:
- "master"
paths: 'public/daily/**'
jobs:
check_duplicates:
name: Check if new daily are correct
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Get changed files
id: changed-files
uses: tj-actions/[email protected]
- uses: denoland/[email protected]
with:
deno-version: v1.x
- name: Deno check daily exist
run: deno test --allow-read --allow-net --allow-run --allow-env test/check_new_daily_exist.ts -- ${{ steps.changed-files.outputs.all_changed_files }}