Skip to content

Commit

Permalink
Run diff-check on JS/CSS to catch updates (#2680)
Browse files Browse the repository at this point in the history
In #2673, we discussed catching changes in the `builds` directory as
being quite annoying in development. This can happen when people
contribute changes (and should probably also commit their build changes
to make future development easier), plus also when dependencies change.

Catching this with `diff-check` should mean that we see this at the
point of introduction, rather than later on.
  • Loading branch information
nickcharlton authored Nov 19, 2024
1 parent df639c1 commit d504990
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/diff-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,18 @@ jobs:
- uses: nickcharlton/diff-check@main
with:
command: bundle exec appraisal

builds:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JS
uses: actions/setup-node@v4
with:
cache: yarn
- run: yarn install --frozen-lockfile
- uses: nickcharlton/diff-check@main
with:
command: |
yarn build
yarn build:css

0 comments on commit d504990

Please sign in to comment.