chore: delete .github/workflows/claude.yml #264
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: "Test" | |
| on: | |
| push: | |
| paths-ignore: | |
| - "**.md" | |
| pull_request: | |
| paths-ignore: | |
| - "**.md" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: Test | |
| strategy: | |
| matrix: | |
| runs-on: [ubuntu-latest, macos-latest, windows-latest] | |
| fail-fast: false | |
| runs-on: ${{ matrix.runs-on }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| name: Checkout [Pull Request] | |
| if: ${{ github.event_name == 'pull_request' }} | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| fetch-depth: 0 | |
| filter: tree:0 | |
| - uses: actions/checkout@v4 | |
| name: Checkout [Push] | |
| if: ${{ github.event_name != 'pull_request' }} | |
| with: | |
| fetch-depth: 0 | |
| filter: tree:0 | |
| - uses: oven-sh/setup-bun@v2 | |
| - name: Install | |
| run: bun install | |
| - name: Compile | |
| run: bun run build | |
| - name: Test default PR Workflow | |
| if: github.event_name == 'pull_request' | |
| uses: ./ | |
| with: | |
| main-branch-name: ${{ github.base_ref }} | |
| - name: Verify default PR Workflow | |
| if: github.event_name == 'pull_request' | |
| shell: bash | |
| # Use node for this to be most representative of the user's runtime environment | |
| run: | | |
| BASE_SHA=$(echo $(git merge-base origin/${{github.base_ref}} HEAD)) | |
| HEAD_SHA=$(git rev-parse HEAD) | |
| node -e "if(process.env.NX_BASE == '${BASE_SHA}') console.log('Base set correctly'); else { throw new Error('Base not set correctly!');}" | |
| node -e "if(process.env.NX_HEAD == '${HEAD_SHA}') console.log('Head set correctly'); else { throw new Error('Head not set correctly!');}" | |
| - name: Test default Push Workflow | |
| if: github.event_name != 'pull_request' | |
| uses: ./ | |
| with: | |
| main-branch-name: ${{ github.ref_name }} | |
| - name: Verify default Push Workflow | |
| if: github.event_name != 'pull_request' | |
| shell: bash | |
| # Use node for this to be most representative of the user's runtime environment | |
| run: | | |
| if git merge-base --is-ancestor $NX_BASE HEAD; then | |
| BASE_SHA=$NX_BASE; | |
| else | |
| BASE_SHA=""; | |
| fi | |
| HEAD_SHA=$(echo $(git rev-parse HEAD)) | |
| node -e "if(process.env.NX_BASE == '${BASE_SHA}') console.log('Base set correctly'); else { throw new Error('Base not set correctly!');}" | |
| node -e "if(process.env.NX_HEAD == '${HEAD_SHA}') console.log('Head set correctly'); else { throw new Error('Head not set correctly!');}" |