Skip to content

chore: GitHub Actions #1

chore: GitHub Actions

chore: GitHub Actions #1

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn build
- name: Check for modified files
run: |
[[ -n "$(git status --porcelain=v1)" ]] && echo 'Files were modified by `yarn build`.' && exit 1