Skip to content

Instantly share code, notes, and snippets.

@Jaid
Last active November 30, 2019 20:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jaid/a498d6af25022e111b796c58d45b9a55 to your computer and use it in GitHub Desktop.
Save Jaid/a498d6af25022e111b796c58d45b9a55 to your computer and use it in GitHub Desktop.
name: Validate and autofix
on:
push:
branches: [master]
schedule:
- cron: 0 0 * * 1 # Every monday
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: actions/checkout
uses: actions/checkout@v1.2.0
- name: actions/setup-node
uses: actions/setup-node@v1.3.0
with:
node-version: "12.13.1"
- name: npm install
uses: jaid/action-npm-install@master
- name: Jest
uses: jaid/action-jest@master
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
- name: Uptodater
uses: jaid/action-uptodater@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
fix: "true"
approve: "true"
- name: Build readme
uses: jaid/action-readme@master
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment