Skip to content

Potential fix for code scanning alert no. 1: Incomplete URL substring sanitization #17

Potential fix for code scanning alert no. 1: Incomplete URL substring sanitization

Potential fix for code scanning alert no. 1: Incomplete URL substring sanitization #17

Workflow file for this run

name: Release Dry Run
on:
workflow_dispatch:
pull_request:
branches:
- main
permissions:
contents: read
id-token: write
concurrency:
group: release-dry-run-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
dry-run:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 24.x
cache: npm
registry-url: https://registry.npmjs.org
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Format check
run: npm run format:check
- name: Typecheck
run: npm run typecheck
- name: Test
run: npm run test
- name: Build package
run: npm run build
- name: Package tarball
run: npm pack
- name: Validate npm publish dry-run
run: npm publish --dry-run --access public --provenance