From 0bec49d6a05aa083637a09f0a60b915c09d4c936 Mon Sep 17 00:00:00 2001 From: Nikita Date: Tue, 9 Jan 2024 17:22:33 +0100 Subject: [PATCH] feat: test fetcher --- .github/workflows/fetch-audits.yml | 46 ++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/fetch-audits.yml diff --git a/.github/workflows/fetch-audits.yml b/.github/workflows/fetch-audits.yml new file mode 100644 index 0000000..10d4713 --- /dev/null +++ b/.github/workflows/fetch-audits.yml @@ -0,0 +1,46 @@ +name: Weekly fetch of audits count + +on: + push: + schedule: + # At 12:00 on Monday + - cron: '0 12 * * MON' + +jobs: + run_js_code: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: '18' + + - name: Create JavaScript file + run: | + cat < { + console.log(`count: ${count}`); + }); + EOF \ No newline at end of file