Skip to content

ci: Run downstream parse5 tests (#155) #49

ci: Run downstream parse5 tests (#155)

ci: Run downstream parse5 tests (#155) #49

Workflow file for this run

name: downstream
concurrency:
group: "${{github.workflow}}-${{github.ref}}"
cancel-in-progress: true
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
types: [opened, synchronize]
branches:
- '*'
jobs:
skeleton:
runs-on: ubuntu-latest
steps:
- run: echo hello world
parse5:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
repository: inikulin/parse5
submodules: recursive
- run: rm -rf test/data/html5lib-tests/
- uses: actions/checkout@v2
with:
path: test/data/html5lib-tests/
- uses: actions/setup-node@v3
with:
node-version: lts/*
cache: npm
- run: npm ci
- run: npm run build --if-present
- run: npm run unit-tests