Skip to content

Merge remote-tracking branch 'origin/master' into v3 #158

Merge remote-tracking branch 'origin/master' into v3

Merge remote-tracking branch 'origin/master' into v3 #158

Workflow file for this run

name: Check for uncommitted changes
on:
push:
branches:
- pre
- "v*"
jobs:
uncommitted:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 20.11.0
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- run: npm run release
- name: check for uncommitted changes
run: |
git diff --exit-code --stat -- . ':!node_modules' \
|| (echo "##[error] found changed files after build. please 'npm run build && npm run format'" \
"and check in all changes" \
&& exit 1)