Update CodeQL workflow to build Chrome and Firefox extensions#3
Merged
Merged
Conversation
Copilot created this pull request from a session on behalf of
gnaservicesinc
June 10, 2026 03:47
View session
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
Pull request overview
This PR updates the repository’s CodeQL Advanced workflow so the JavaScript/TypeScript analysis job runs with a proper Node.js runtime and executes the project’s dual-extension install/build steps (Chrome + Firefox) instead of the default placeholder manual-build scaffold.
Changes:
- Added a Node.js 20 setup step via
actions/setup-node@v4. - Replaced the placeholder manual build step with explicit
npm ci+npm run buildsteps forURLAlchemist_chromeandURLAlchemist_Firefox.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+78
to
+90
| - name: Install and Build Chrome Extension | ||
| shell: bash | ||
| working-directory: ./URLAlchemist_chrome | ||
| run: | | ||
| npm ci | ||
| npm run build | ||
|
|
||
| - name: Install and Build Firefox Extension | ||
| shell: bash | ||
| working-directory: ./URLAlchemist_Firefox | ||
| run: | | ||
| echo 'If you are using a "manual" build mode for one or more of the' \ | ||
| 'languages you are analyzing, replace this with the commands to build' \ | ||
| 'your code, for example:' | ||
| echo ' make bootstrap' | ||
| echo ' make release' | ||
| exit 1 | ||
| npm ci | ||
| npm run build |
Comment on lines
+60
to
+63
| - name: Setup Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 20 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The default CodeQL workflow contained placeholder manual build steps and lacked the necessary environment configuration to resolve dependencies for the project's dual-extension architecture.
Workflow Configuration Updates
actions/setup-node@v4targeting Node 20 to provide the correct runtime for dependency resolution.URLAlchemist_chromeandURLAlchemist_Firefoxdirectories.