Last active
November 30, 2019 20:58
-
-
Save Jaid/a498d6af25022e111b796c58d45b9a55 to your computer and use it in GitHub Desktop.
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: 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