Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
sidvishnoi committed Mar 31, 2021
1 parent b5ee681 commit 9c2c914
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/regressions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@ env:

jobs:
build:
name: Build respec-w3c
name: Build W3C profile
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- name: Cache node modules
uses: actions/cache@v1
- uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-12-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -47,8 +46,7 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 12
- name: Cache node modules
uses: actions/cache@v1
- uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-12-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -58,8 +56,8 @@ jobs:
name: builds
path: ./builds/
- run: git status
- run: node ./tools/respec2html ${{ matrix.source }} live.html -t 30 --verbose
- run: node ./tools/respec2html ${{ matrix.source }} now.html -t 30 --verbose --use-local
- run: node ./tools/respec2html ${{ matrix.source }} before.html -t 30 --verbose
- run: node ./tools/respec2html ${{ matrix.source }} after.html -t 30 --verbose --use-local
- name: Install git-delta # prettier git diff
run: |
set -v
Expand All @@ -70,5 +68,5 @@ jobs:
- name: git diff
run: |
set -o pipefail
git diff --exit-code --no-index live.html now.html | delta --diff-so-fancy
git diff --exit-code --no-index before.html after.html | delta --diff-so-fancy
exit $?

0 comments on commit 9c2c914

Please sign in to comment.