Skip to content

Bump rollup from 3.29.3 to 3.29.5 (#69) #249

Bump rollup from 3.29.3 to 3.29.5 (#69)

Bump rollup from 3.29.3 to 3.29.5 (#69) #249

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