Run puppeeteer for Colorado Quiz #31148
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: Run puppeeteer for Colorado Quiz | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
schedule: | |
- cron: "0 * * * *" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [14.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install -g yarn | |
- run: yarn | |
- run: npx tsc | |
- run: free -h | |
- run: ls -a | |
- run: node coloradoquiz.js > coloradoquiz.markdown | |
- run: git config user.name "Kushal Hada"; | |
if: always() | |
- run: git config user.email "kus@tilde.team"; | |
if: always() | |
- run: git add .; | |
if: always() | |
- run: git commit -m "add colorado quiz perf log" -m "perf matters"; | |
if: always() | |
- run: git pull --rebase --strategy-option=theirs; | |
if: always() | |
- run: git push origin master; | |
if: always() |