Repository navigation
Decode invalid UTF-8 in short strings like TextDecoder #305
Workflow file for this run
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
| # https://gitlab.com/gitlab-org/security-products/analyzers/fuzzers/jsfuzz | |
| name: Fuzz | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| fuzzing: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| cache: npm | |
| node-version: "20" | |
| # npm@9 may fail with https://github.com/npm/cli/issues/6723 | |
| # npm@10 may fail with "GitFetcher requires an Arborist constructor to pack a tarball" | |
| - run: npm install -g npm@8 | |
| - run: npm ci | |
| - run: npm run test:fuzz |