chore(deps): update actions/setup-node action to v4 #159
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: push | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
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 |