mirror of
https://github.com/chirimen-oh/node-web-i2c.git
synced 2025-01-18 16:08:06 +00:00
20 lines
465 B
YAML
20 lines
465 B
YAML
name: build
|
|
on: push
|
|
jobs:
|
|
main:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- 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
|