Better PR title, body and branch name (#40) #72
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: 'Dist up-to-date' | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
distUpToDateCheck: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: npm install | |
run: npm install | |
- name: Build | |
run: npm run build | |
- name: Verify dist is up-to-date | |
run: git diff --exit-code |