Skip to content

Node CI

Node CI #267

Workflow file for this run

name: Node CI
on:
schedule:
# # * is a special character in YAML so you have to quote this string
- cron: '0 0 * * 1'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [8.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: yarn install and run dead URL Check
run: |
yarn install
chmod -R 777 './check_dead.sh'
node ./delete-dead-links.js
- name: commit file changes back to repo
uses: elstudio/actions-js-build/commit@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PUSH_BRANCH: 'master'