chore(deps): lock file maintenance npm packages #156
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, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| permissions: {} | |
| jobs: | |
| test-lint-build: | |
| permissions: | |
| contents: read | |
| packages: read | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 | |
| - name: Setup Node.js and pnpm | |
| uses: ./.github/actions/setup-node-pnpm | |
| - name: Lint code | |
| run: pnpm lint | |
| - name: Run tests | |
| run: pnpm test | |
| - name: Build project | |
| run: pnpm build | |
| - name: Check build artifacts | |
| run: | | |
| if [ -d "apps/dashboard/dist" ]; then | |
| echo "✅ Build artifacts created successfully" | |
| ls -la apps/dashboard/dist/ | |
| else | |
| echo "❌ Build artifacts not found" | |
| exit 1 | |
| fi |