Bump @types/node from 24.0.14 to 24.3.0 #32
This file contains hidden or 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: CI | |
on: | |
push: | |
branches: [ main, v2 ] | |
pull_request: | |
branches: [ main, v2 ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm ci | |
- name: Run linting | |
run: npm run lint | |
- name: Check formatting | |
run: npm run format-check | |
- name: Clean dist folder | |
run: rm -rf dist | |
- name: Build TypeScript | |
run: npm run build | |
- name: Run tests with coverage | |
run: npm run test:coverage | |
- name: Package action | |
run: npm run package | |
- name: Check for uncommitted changes | |
run: | | |
if [ -n "$(git status --porcelain)" ]; then | |
echo "::error::Found uncommitted changes after build:" | |
git status --porcelain | |
git diff | |
exit 1 | |
fi | |
echo "✅ No uncommitted changes found" |