Skip to content

Update CodeQL workflow to build Chrome and Firefox extensions#3

Merged
gnaservicesinc merged 1 commit into
mainfrom
copilot/update-workflow-configuration
Jun 10, 2026
Merged

Update CodeQL workflow to build Chrome and Firefox extensions#3
gnaservicesinc merged 1 commit into
mainfrom
copilot/update-workflow-configuration

Conversation

Copilot AI commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

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

  • Added actions/setup-node@v4 targeting Node 20 to provide the correct runtime for dependency resolution.
  • Replaced the generic manual build step with explicit dependency installation and build commands for both the URLAlchemist_chrome and URLAlchemist_Firefox directories.
    - 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: |
        npm ci
        npm run build

@gnaservicesinc gnaservicesinc marked this pull request as ready for review June 10, 2026 03:48
Copilot AI review requested due to automatic review settings June 10, 2026 03:48
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@gnaservicesinc gnaservicesinc merged commit c536396 into main Jun 10, 2026
4 of 5 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 build steps for URLAlchemist_chrome and URLAlchemist_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
@gnaservicesinc gnaservicesinc deleted the copilot/update-workflow-configuration branch June 10, 2026 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants