Skip to content

fix: html encode backslashes if used with escape filter or autoescape… #26

fix: html encode backslashes if used with escape filter or autoescape…

fix: html encode backslashes if used with escape filter or autoescape… #26

Workflow file for this run

name: Tests
on:
push:
branches:
- '**'
pull_request:
branches:
- master
paths:
- '**/*.js'
- 'package.json'
- '**/*.njk'
- '**/*.yml'
- 'tests/**/*.html'
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node-version: [11.x, 10.x, 8.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- uses: actions/cache@v2
id: cache-node-modules
with:
path: node_modules
key: ${{ matrix.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package.json') }}
- run: npm install
if: steps.cache-node-modules.outputs.cache-hit != 'true'
- run: npm test
# Commented out until this action is added in organization settings
# - name: Report coverage
# if: success()
# uses: codecov/codecov-action@v1