Bump the codeql group with 3 updates #93
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: Integration | |
| on: | |
| pull_request: | |
| permissions: read-all | |
| jobs: | |
| runtime: | |
| name: Integration tests (${{ matrix.node-version }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [^22.12, ^24, ^26] | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # 7.0.1 | |
| - uses: ./.github/actions/node-bootstrap | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Pack | |
| ## --ignore-scripts is required to prevent the prepack script from running | |
| run: echo "PACK_FILE=$GITHUB_WORKSPACE/$(npm pack --ignore-scripts)" >> $GITHUB_ENV | |
| - name: Test CJS require | |
| working-directory: test/integration/cjs | |
| run: | | |
| npm install "${{ env.PACK_FILE }}" | |
| node index.js | |
| - name: Test ESM import | |
| working-directory: test/integration/esm | |
| run: | | |
| npm install "${{ env.PACK_FILE }}" | |
| node index.js | |
| - name: Check types | |
| working-directory: test/integration/types | |
| run: | | |
| npm install "${{ env.PACK_FILE }}" | |
| npx tsc --build --verbose |