Style the header to look like our site #350
Workflow file for this run
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: test | |
on: pull_request | |
jobs: | |
stable-urls: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: volta-cli/action@v4 | |
- run: yarn | |
- name: generate url hash | |
run: yarn check-urls | |
id: url-hash | |
- name: build website and sync sitemap.txt | |
run: yarn build | |
env: | |
SIMPLECAST_API: ${{ secrets.SIMPLECAST_API }} | |
- name: diff shows uncommitted url changes | |
run: git diff sitemap.txt | |
- name: check urls are stable | |
run: yarn check-urls ${{ steps.url-hash.outputs.url-hash }} | |
bigtest: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: volta-cli/action@v4 | |
- run: yarn | |
- run: yarn build | |
env: | |
SIMPLECAST_API: ${{ secrets.SIMPLECAST_API }} | |
# this fails in CI currently, let's only run it locally | |
# - run: yarn test |