diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml index 00779f0d..ccd68e1e 100644 --- a/.github/workflows/ci-release.yml +++ b/.github/workflows/ci-release.yml @@ -144,7 +144,7 @@ jobs: - name: Add Problem Matcher run: echo "::add-matcher::.github/matchers/tap.json" - name: Test - run: npm test --ignore-scripts -ws -iwr --if-present + run: npm test --ignore-scripts - name: Conclude Check uses: LouisBrunner/checks-action@v1.3.1 if: always() diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 293511ca..4bc2e2db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -152,4 +152,4 @@ jobs: - name: Add Problem Matcher run: echo "::add-matcher::.github/matchers/tap.json" - name: Test - run: npm test --ignore-scripts -iwr + run: npm test --ignore-scripts diff --git a/package.json b/package.json index 105fef5d..25255f82 100644 --- a/package.json +++ b/package.json @@ -55,6 +55,7 @@ "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", "version": "4.4.4", "engines": ">=10", + "content": "./scripts", "ciVersions": [ "10.0.0", "10.x", diff --git a/scripts/_step-test.yml b/scripts/_step-test.yml new file mode 100644 index 00000000..5b7131bc --- /dev/null +++ b/scripts/_step-test.yml @@ -0,0 +1,4 @@ +- name: Add Problem Matcher + run: echo "::add-matcher::.github/matchers/tap.json" +- name: Test + run: {{ rootNpmPath }} test --ignore-scripts