Skip to content

- initial version

- initial version #1

Workflow file for this run

name: Execute the script to check VFS global dates
on:
schedule:
- cron: "0 * * * *" # Every hour

Check failure on line 4 in .github/workflows/schedule.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/schedule.yaml

Invalid workflow file

You have an error in your yaml syntax on line 4
workflow_dispatch:
jobs:
execute_script:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Get Node.js version
id: nodejs-version
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc)
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ steps.nodejs-version.outputs.NODE_VERSION }}
registry-url: https://registry.npmjs.org/
- name: Prepare/restore cache
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
- name: Install packages
run: npm ci
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN_READ}}
- name: Execute
run: |
npm start