node-web-i2c/.github/workflows/build.yml

21 lines
465 B
YAML
Raw Permalink Normal View History

2020-06-25 11:45:10 +09:00
name: build
on: push
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
2021-07-06 13:51:51 +09:00
with:
node-version: "lts/*"
2021-07-06 13:52:23 +09:00
cache: yarn
2020-06-25 11:45:10 +09:00
- 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