Skip to content

Commit ac1026a

Browse files
committedOct 31, 2022
chore: dry up template-oss config
1 parent 2e45b11 commit ac1026a

File tree

4 files changed

+6
-20
lines changed

4 files changed

+6
-20
lines changed
 

‎.github/workflows/ci-release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,10 @@ jobs:
208208
run: npm -v
209209
- name: Install Dependencies
210210
run: npm i --ignore-scripts --no-audit --no-fund
211-
- name: Add Problem Matcher
212-
run: echo "::add-matcher::.github/matchers/tap.json"
213211
- name: Set Tap RC
214212
run: node ./test/fixtures/taprc.js
213+
- name: Add Problem Matcher
214+
run: echo "::add-matcher::.github/matchers/tap.json"
215215
- name: Test
216216
run: npm test --ignore-scripts
217217
- name: Conclude Check

‎.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ jobs:
106106
run: npm -v
107107
- name: Install Dependencies
108108
run: npm i --ignore-scripts --no-audit --no-fund
109-
- name: Add Problem Matcher
110-
run: echo "::add-matcher::.github/matchers/tap.json"
111109
- name: Set Tap RC
112110
run: node ./test/fixtures/taprc.js
111+
- name: Add Problem Matcher
112+
run: echo "::add-matcher::.github/matchers/tap.json"
113113
- name: Test
114114
run: npm test --ignore-scripts

‎scripts/template-oss/_step-git.yml

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
11
- name: Support Long Paths
22
if: matrix.platform.os == 'windows-latest'
33
run: git config --system core.longpaths true
4-
- name: Checkout
5-
uses: actions/checkout@v3
6-
{{#if jobCheckout}}
7-
with:
8-
{{#each jobCheckout}}
9-
{{ @key }}: {{ this }}
10-
{{/each}}
11-
{{/if}}
12-
- name: Setup Git User
13-
run: |
14-
git config --global user.email "npm-cli+bot@github.com"
15-
git config --global user.name "npm CLI robot"
4+
{{> defaultStepGit }}

‎scripts/template-oss/_step-test.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
- name: Add Problem Matcher
2-
run: echo "::add-matcher::.github/matchers/tap.json"
31
- name: Set Tap RC
42
run: node ./test/fixtures/taprc.js
5-
- name: Test
6-
run: {{ rootNpmPath }} test --ignore-scripts
3+
{{> defaultStepTest }}

0 commit comments

Comments
 (0)
Please sign in to comment.