Ensure that binary characters are escaped correctly in the location header #162
Workflow file for this run
This file contains 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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18.0' | |
- uses: actions/checkout@v4 | |
- run: npm ci | |
- run: npm run lint | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: | |
- '4.x' | |
- '6.x' | |
- '7.x' | |
- '8.x' | |
- '9.x' | |
- '10.0' | |
- '10.x' | |
- '11.0' | |
- '11.x' | |
- '12.0' | |
- '12.x' | |
- '13.0' | |
- '13.x' | |
- '14.0' | |
- '14.x' | |
- '15.0' | |
- '15.x' | |
- '16.0' | |
- '16.x' | |
- '17.0' | |
- '17.x' | |
- '18.0' | |
- '18.x' | |
steps: | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- uses: actions/checkout@v4 | |
- run: npm install | |
- if: ${{ matrix.node-version == '4.x' }} | |
run: npm install mocha@5.0.0 nyc@11.8.0 | |
- run: npm test | |
- run: node_modules/.bin/nyc --reporter=text-lcov node_modules/.bin/mocha | tee lcov.info | |
- uses: coverallsapp/github-action@master | |
if: ${{ matrix.node-version == '18.0' }} | |
with: | |
github-token: ${{ secrets.github_token }} | |
flag-name: run-${{ matrix.node-version }} | |
path-to-lcov: lcov.info |