Node CI #267
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |