Skip to content

Commit 40f7dfc

Browse files
authored
chore(ci): dont set workspaces flag for tests (#487)
1 parent d8ef32c commit 40f7dfc

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

Diff for: .github/workflows/ci-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ jobs:
144144
- name: Add Problem Matcher
145145
run: echo "::add-matcher::.github/matchers/tap.json"
146146
- name: Test
147-
run: npm test --ignore-scripts -ws -iwr --if-present
147+
run: npm test --ignore-scripts
148148
- name: Conclude Check
149149
uses: LouisBrunner/[email protected]
150150
if: always()

Diff for: .github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,4 +152,4 @@ jobs:
152152
- name: Add Problem Matcher
153153
run: echo "::add-matcher::.github/matchers/tap.json"
154154
- name: Test
155-
run: npm test --ignore-scripts -iwr
155+
run: npm test --ignore-scripts

Diff for: package.json

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
5656
"version": "4.4.4",
5757
"engines": ">=10",
58+
"content": "./scripts",
5859
"ciVersions": [
5960
"10.0.0",
6061
"10.x",

Diff for: scripts/_step-test.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
- name: Add Problem Matcher
2+
run: echo "::add-matcher::.github/matchers/tap.json"
3+
- name: Test
4+
run: {{ rootNpmPath }} test --ignore-scripts

0 commit comments

Comments
 (0)