From abc6bf49c49e713ee9f9d1986299c43a22a2c3c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20B=C3=B6hm?= <188768+fb55@users.noreply.github.com> Date: Wed, 15 Mar 2023 13:56:35 +0000 Subject: [PATCH 1/5] ci: Run downstream parse5 tests --- .github/workflows/downstream.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index 4489d2f..6e52465 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -19,3 +19,21 @@ jobs: runs-on: ubuntu-latest steps: - run: echo hello world + +parse5: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + repository: inikulin/parse5 + - run: rm -rf test/data/html5lib-tests/ + - uses: actions/checkout@v2 + with: + path: test/data/html5lib-tests/ + - uses: actions/setup-node@v3.6.0 + with: + node-version: lts/* + cache: npm + - run: npm ci + - run: npm run build --if-present + - run: npm run unit-tests From 5c79c4016b7dce09ad61638771a4a0df629200c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20B=C3=B6hm?= <188768+fb55@users.noreply.github.com> Date: Wed, 15 Mar 2023 14:00:43 +0000 Subject: [PATCH 2/5] Relax setup-node version Requires less updates going forward. --- .github/workflows/downstream.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index 6e52465..c7316e2 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -30,7 +30,7 @@ parse5: - uses: actions/checkout@v2 with: path: test/data/html5lib-tests/ - - uses: actions/setup-node@v3.6.0 + - uses: actions/setup-node@v3 with: node-version: lts/* cache: npm From a7046aa6187b29ee4dfd5789b8c9ee0a2955d03a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20B=C3=B6hm?= <188768+fb55@users.noreply.github.com> Date: Wed, 15 Mar 2023 19:38:13 +0000 Subject: [PATCH 3/5] Add quotes around `parse5` name --- .github/workflows/downstream.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index c7316e2..4e03f35 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -20,7 +20,7 @@ jobs: steps: - run: echo hello world -parse5: +"parse5": runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 From 99254f72ffebb2221885d5337a271ab03940a2ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20B=C3=B6hm?= <188768+fb55@users.noreply.github.com> Date: Wed, 15 Mar 2023 19:40:35 +0000 Subject: [PATCH 4/5] Fix indentation --- .github/workflows/downstream.yml | 34 ++++++++++++++++---------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index 4e03f35..9e6ac34 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -20,20 +20,20 @@ jobs: steps: - run: echo hello world -"parse5": - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - repository: inikulin/parse5 - - 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 + parse5: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + repository: inikulin/parse5 + - 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 From c685c9ddaa3d99d458638387917e18f62c7e7baf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20B=C3=B6hm?= <188768+fb55@users.noreply.github.com> Date: Wed, 15 Mar 2023 19:48:02 +0000 Subject: [PATCH 5/5] Fetch submodules --- .github/workflows/downstream.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index 9e6ac34..27a358c 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -26,6 +26,7 @@ jobs: - uses: actions/checkout@v2 with: repository: inikulin/parse5 + submodules: recursive - run: rm -rf test/data/html5lib-tests/ - uses: actions/checkout@v2 with: