Skip to content

Commit 578ed5e

Browse files
authored
chore: extend ci and test steps from template-oss (#5560)
1 parent 83fd0a8 commit 578ed5e

19 files changed

+172
-106
lines changed

.github/workflows/ci-docs.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,15 @@ jobs:
110110
cache: npm
111111
- name: Reset Deps
112112
run: node . run resetdeps
113-
- name: Add Problem Matcher
114-
run: echo "::add-matcher::.github/matchers/tap.json"
115113
- name: Link
116114
if: matrix
117115
run: node . link -f --ignore-scripts
118116
- name: Rebuild cmark-gfm
119117
run: node . rebuild cmark-gfm
118+
- name: Add Problem Matcher
119+
run: echo "::add-matcher::.github/matchers/tap.json"
120120
- name: Test
121121
run: node . test --ignore-scripts -w docs
122+
- name: Check Git Status
123+
if: matrix && matrix.platform.os != 'windows-latest'
124+
run: node scripts/git-dirty.js

.github/workflows/ci-libnpmaccess.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,15 @@ jobs:
118118
cache: npm
119119
- name: Reset Deps
120120
run: node . run resetdeps
121-
- name: Add Problem Matcher
122-
run: echo "::add-matcher::.github/matchers/tap.json"
123121
- name: Link
124122
if: matrix
125123
run: node . link -f --ignore-scripts
126124
- name: Rebuild cmark-gfm
127125
run: node . rebuild cmark-gfm
126+
- name: Add Problem Matcher
127+
run: echo "::add-matcher::.github/matchers/tap.json"
128128
- name: Test
129129
run: node . test --ignore-scripts -w libnpmaccess
130+
- name: Check Git Status
131+
if: matrix && matrix.platform.os != 'windows-latest'
132+
run: node scripts/git-dirty.js

.github/workflows/ci-libnpmdiff.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,15 @@ jobs:
118118
cache: npm
119119
- name: Reset Deps
120120
run: node . run resetdeps
121-
- name: Add Problem Matcher
122-
run: echo "::add-matcher::.github/matchers/tap.json"
123121
- name: Link
124122
if: matrix
125123
run: node . link -f --ignore-scripts
126124
- name: Rebuild cmark-gfm
127125
run: node . rebuild cmark-gfm
126+
- name: Add Problem Matcher
127+
run: echo "::add-matcher::.github/matchers/tap.json"
128128
- name: Test
129129
run: node . test --ignore-scripts -w libnpmdiff
130+
- name: Check Git Status
131+
if: matrix && matrix.platform.os != 'windows-latest'
132+
run: node scripts/git-dirty.js

.github/workflows/ci-libnpmexec.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,15 @@ jobs:
118118
cache: npm
119119
- name: Reset Deps
120120
run: node . run resetdeps
121-
- name: Add Problem Matcher
122-
run: echo "::add-matcher::.github/matchers/tap.json"
123121
- name: Link
124122
if: matrix
125123
run: node . link -f --ignore-scripts
126124
- name: Rebuild cmark-gfm
127125
run: node . rebuild cmark-gfm
126+
- name: Add Problem Matcher
127+
run: echo "::add-matcher::.github/matchers/tap.json"
128128
- name: Test
129129
run: node . test --ignore-scripts -w libnpmexec
130+
- name: Check Git Status
131+
if: matrix && matrix.platform.os != 'windows-latest'
132+
run: node scripts/git-dirty.js

.github/workflows/ci-libnpmfund.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,15 @@ jobs:
118118
cache: npm
119119
- name: Reset Deps
120120
run: node . run resetdeps
121-
- name: Add Problem Matcher
122-
run: echo "::add-matcher::.github/matchers/tap.json"
123121
- name: Link
124122
if: matrix
125123
run: node . link -f --ignore-scripts
126124
- name: Rebuild cmark-gfm
127125
run: node . rebuild cmark-gfm
126+
- name: Add Problem Matcher
127+
run: echo "::add-matcher::.github/matchers/tap.json"
128128
- name: Test
129129
run: node . test --ignore-scripts -w libnpmfund
130+
- name: Check Git Status
131+
if: matrix && matrix.platform.os != 'windows-latest'
132+
run: node scripts/git-dirty.js

.github/workflows/ci-libnpmhook.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,15 @@ jobs:
118118
cache: npm
119119
- name: Reset Deps
120120
run: node . run resetdeps
121-
- name: Add Problem Matcher
122-
run: echo "::add-matcher::.github/matchers/tap.json"
123121
- name: Link
124122
if: matrix
125123
run: node . link -f --ignore-scripts
126124
- name: Rebuild cmark-gfm
127125
run: node . rebuild cmark-gfm
126+
- name: Add Problem Matcher
127+
run: echo "::add-matcher::.github/matchers/tap.json"
128128
- name: Test
129129
run: node . test --ignore-scripts -w libnpmhook
130+
- name: Check Git Status
131+
if: matrix && matrix.platform.os != 'windows-latest'
132+
run: node scripts/git-dirty.js

.github/workflows/ci-libnpmorg.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,15 @@ jobs:
118118
cache: npm
119119
- name: Reset Deps
120120
run: node . run resetdeps
121-
- name: Add Problem Matcher
122-
run: echo "::add-matcher::.github/matchers/tap.json"
123121
- name: Link
124122
if: matrix
125123
run: node . link -f --ignore-scripts
126124
- name: Rebuild cmark-gfm
127125
run: node . rebuild cmark-gfm
126+
- name: Add Problem Matcher
127+
run: echo "::add-matcher::.github/matchers/tap.json"
128128
- name: Test
129129
run: node . test --ignore-scripts -w libnpmorg
130+
- name: Check Git Status
131+
if: matrix && matrix.platform.os != 'windows-latest'
132+
run: node scripts/git-dirty.js

.github/workflows/ci-libnpmpack.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,15 @@ jobs:
118118
cache: npm
119119
- name: Reset Deps
120120
run: node . run resetdeps
121-
- name: Add Problem Matcher
122-
run: echo "::add-matcher::.github/matchers/tap.json"
123121
- name: Link
124122
if: matrix
125123
run: node . link -f --ignore-scripts
126124
- name: Rebuild cmark-gfm
127125
run: node . rebuild cmark-gfm
126+
- name: Add Problem Matcher
127+
run: echo "::add-matcher::.github/matchers/tap.json"
128128
- name: Test
129129
run: node . test --ignore-scripts -w libnpmpack
130+
- name: Check Git Status
131+
if: matrix && matrix.platform.os != 'windows-latest'
132+
run: node scripts/git-dirty.js

.github/workflows/ci-libnpmpublish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,15 @@ jobs:
118118
cache: npm
119119
- name: Reset Deps
120120
run: node . run resetdeps
121-
- name: Add Problem Matcher
122-
run: echo "::add-matcher::.github/matchers/tap.json"
123121
- name: Link
124122
if: matrix
125123
run: node . link -f --ignore-scripts
126124
- name: Rebuild cmark-gfm
127125
run: node . rebuild cmark-gfm
126+
- name: Add Problem Matcher
127+
run: echo "::add-matcher::.github/matchers/tap.json"
128128
- name: Test
129129
run: node . test --ignore-scripts -w libnpmpublish
130+
- name: Check Git Status
131+
if: matrix && matrix.platform.os != 'windows-latest'
132+
run: node scripts/git-dirty.js

.github/workflows/ci-libnpmsearch.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,15 @@ jobs:
118118
cache: npm
119119
- name: Reset Deps
120120
run: node . run resetdeps
121-
- name: Add Problem Matcher
122-
run: echo "::add-matcher::.github/matchers/tap.json"
123121
- name: Link
124122
if: matrix
125123
run: node . link -f --ignore-scripts
126124
- name: Rebuild cmark-gfm
127125
run: node . rebuild cmark-gfm
126+
- name: Add Problem Matcher
127+
run: echo "::add-matcher::.github/matchers/tap.json"
128128
- name: Test
129129
run: node . test --ignore-scripts -w libnpmsearch
130+
- name: Check Git Status
131+
if: matrix && matrix.platform.os != 'windows-latest'
132+
run: node scripts/git-dirty.js

0 commit comments

Comments
 (0)