-
Notifications
You must be signed in to change notification settings - Fork 359
Migrate Azure DevOps CI to GitHub Actions and remove ADO CI pipeline #2356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+70
−141
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
e8bed9a
Add Node 22 GitHub Actions compile and test workflow
Copilot 65ae65e
Set explicit workflow token permissions
Copilot 0aec484
Remove npm cache from Node 22 workflow
Copilot 8efd6a9
Restrict Node 22 workflow triggers to main branch
Copilot 1f61804
Mirror ADO CI in GitHub Actions and remove ADO pipeline
Copilot f11cb5b
Rename CI workflow file and tidy step naming
Copilot 692bf8a
Bump mirrored CI workflow to Node 22
Copilot ef88309
Switch mirrored CI workflow back to Node 18
Copilot 4616086
Run types and lint checks directly in CI
Copilot 7b31d79
Use descriptive name for CI type-check step
Copilot cd778b9
Use consistent lint step naming in CI
Copilot af5ecea
Use npm ci for deterministic CI dependencies
Copilot 5ffed6a
Temporarily disable CI lint checking
Copilot 10cd9c2
Gate CI lint step behind temporary flag
Copilot c72f403
Clarify temporary lint disable intent
Copilot 55791d2
Document temporary lint disable in CI
Copilot ecfb67f
Remove orphaned Azure validation template
Copilot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,70 @@ | ||
| name: CI | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| pull_request: | ||
| branches: | ||
| - main | ||
|
|
||
| jobs: | ||
| validation: | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| include: | ||
| - name: macOS | ||
| os: macos-latest | ||
| node_version: '18' | ||
| only_minspec: false | ||
| - name: Linux | ||
| os: ubuntu-22.04 | ||
| node_version: '18' | ||
| only_minspec: false | ||
| - name: LinuxMinspec | ||
| os: ubuntu-22.04 | ||
| node_version: '18' | ||
| only_minspec: true | ||
| - name: Windows | ||
| os: windows-latest | ||
| node_version: '18' | ||
| only_minspec: false | ||
| name: ${{ matrix.name }} | ||
| runs-on: ${{ matrix.os }} | ||
| env: | ||
| # TODO: Re-enable lint checks after current lint baseline failures are resolved. | ||
| DISABLE_LINT_FOR_NOW: 'true' | ||
| permissions: | ||
| contents: read | ||
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: ${{ matrix.node_version }} | ||
|
|
||
| - name: Start xvfb | ||
| if: runner.os == 'Linux' | ||
| run: | | ||
| /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & | ||
| echo ">>> Started xvfb" | ||
|
|
||
| - name: npm install | ||
| run: npm ci --legacy-peer-deps | ||
|
|
||
| - name: Test echo environment | ||
| run: node -e "console.log(process.env.PATH)" | ||
| env: | ||
| JSDBG_TEST_VERSION: insiders | ||
| DISPLAY: ':99.0' | ||
|
|
||
| - name: Type checking | ||
| run: npm run test:types | ||
|
|
||
| - name: Lint checking | ||
| if: ${{ env.DISABLE_LINT_FOR_NOW != 'true' && !matrix.only_minspec }} | ||
| run: npm run test:lint | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.