mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-11-21 20:14:24 +00:00
Add a check for up-to-date bundle
This commit is contained in:
parent
b283514f9e
commit
1b7cb8c9cb
19
.github/workflows/main.yaml
vendored
19
.github/workflows/main.yaml
vendored
@ -7,6 +7,25 @@ on:
|
||||
|
||||
|
||||
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:
|
||||
runs-on: "ubuntu-latest"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user