Skip to content

Node.js Workflow

Node.js Workflow #21

Workflow file for this run

name: Node.js Workflow
on:
schedule:
- cron: "0 0 */42 * *"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Checkout repository
uses: actions/checkout@v2
- name: Install dependencies
run: npm install
- name: Run Node.js script
run: npm run update
- name: Configure Git
run: |
git config user.name "Necko calendar bot"
git config user.email "[email protected]"
- name: Commit changes
run: npm run push