Fix/noss 1/readme update #25
Workflow file for this run
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: Pull Request to Development | |
| on: | |
| pull_request: | |
| branches: [development] | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| validate-pr: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'yarn' | |
| - name: Install dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Run TypeScript compilation | |
| run: yarn build | |
| - name: Check for build errors | |
| run: | | |
| if [ ! -d "dist" ]; then | |
| echo "❌ Build failed - dist directory not created" | |
| exit 1 | |
| fi | |
| echo "✅ Build completed successfully" | |
| - name: Show commits (for reference) | |
| run: | | |
| # Get commits in this PR for reference | |
| COMMITS=$(git log --oneline origin/development..HEAD) | |
| echo "Commits in this PR (will be squashed on merge):" | |
| echo "$COMMITS" | |
| echo "✅ Commits will be squashed, no validation needed" |