Add a check for up-to-date bundle

This commit is contained in:
Søren L. Hansen 2022-09-01 14:07:37 -07:00
parent b283514f9e
commit 1b7cb8c9cb

View File

@ -7,6 +7,25 @@ on:
jobs: jobs:
bundle-up-to-date:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v3
with:
go-version: 1.19
- uses: actions/setup-node@v3
with:
node-version: 16
- run: "make clean"
- run: "make assets"
- name: "Make sure gotty.js bundle is up-to-date"
run: "diffsize=$(git diff bindata/static/js/gotty.js | wc -l); test $diffsize == 0"
build-test: build-test:
runs-on: "ubuntu-latest" runs-on: "ubuntu-latest"