Skip to content

Bump undici from 5.28.3 to 5.28.4 #227

Bump undici from 5.28.3 to 5.28.4

Bump undici from 5.28.3 to 5.28.4 #227

Workflow file for this run

name: Lint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- run: |
npm run lint -- --fix
if [ "$(git diff | wc -l)" -gt "0" ]; then
echo "Detected uncommitted changes. See status below:"
git diff
exit 1
fi
- run: |
npm run version
if [ "$(git diff | wc -l)" -gt "0" ]; then
echo "Check version fail, please run 'npm run version' to fix."
git diff
exit 1
fi