Merge branch 'main' into pre #78
Workflow file for this run
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: Check for uncommitted changes | |
on: | |
push: | |
branches: | |
- pre | |
- main | |
- 'v*' | |
jobs: | |
uncommitted: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# NOTE: Use node16 on local | |
- run: npm version | |
- run: npm ci | |
- run: npm install | |
- run: npm run release | |
- name: check for uncommitted changes | |
run: | | |
git diff --exit-code -- . ':!node_modules' \ | |
|| (echo "##[error] found changed files after build. please 'npm run build && npm run format'" \ | |
"and check in all changes" \ | |
&& exit 1) |