node-web-i2c/.github/workflows/build.yml
Akihiko.KIgure 6d341aaaf7
TSDoc (#46)
Ref. #45

Co-authored-by: akihiko kigure <akihiko.kigure@lifewood-m1.local>
2022-04-02 12:52:59 +09:00

20 lines
465 B
YAML
Executable file

name: build
on: push
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "lts/*"
cache: yarn
- run: yarn
- run: yarn build
- name: The working tree is clean.
run: "[[ -z $(git status --porcelain) ]]"
- name: Show the working tree status.
if: failure()
run: |
git status
git diff