[wip] Prototype XSS prevention rules #2154
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
| name: build | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ 'main', '!pixi_v8' ] | |
| env: | |
| FORCE_COLOR: 2 | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: ['18', '20', '22'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - run: npm install | |
| - run: | | |
| echo "::remove-matcher owner=eslint-compact::" | |
| echo "::remove-matcher owner=eslint-stylish::" | |
| - run: npm run all | |
| - run: npm run test | |
| semgrep: | |
| name: semgrep-oss/scan | |
| runs-on: ubuntu-latest | |
| container: | |
| image: semgrep/semgrep | |
| if: (github.actor != 'dependabot[bot]') | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: semgrep scan --error --config .semgrep/ |