feat: add migration-test repository for testing transfer automation #26
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: Tests | |
| on: | |
| pull_request: | |
| paths: | |
| - 'scripts/**' | |
| - 'package.json' | |
| - '.github/workflows/test.yml' | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Make scripts executable | |
| run: chmod +x scripts/*.js | |
| - name: Run unit tests | |
| run: npm test | |
| - name: Report test results | |
| if: success() | |
| run: echo "✅ All tests passed" |