Skip to content

Potential fix for code scanning alert no. 4: Client-side cross-site scripting #15

Potential fix for code scanning alert no. 4: Client-side cross-site scripting

Potential fix for code scanning alert no. 4: Client-side cross-site scripting #15

Workflow file for this run

# PR Build — Generate VSIX artifact for manual testing
# Triggers on every pull request to main.
# Produces a .vsix file uploaded as a build artifact
# so reviewers can download and install it in VS Code.
name: PR Build — VSIX
on:
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Package VSIX
run: npm run package
- name: Upload VSIX artifact
uses: actions/upload-artifact@v4
with:
name: hermes-vscode-vsix
path: hermes-*.vsix
retention-days: 14
if-no-files-found: error