Skip to content

Commit

Permalink
chore: dry up template-oss config
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Oct 31, 2022
1 parent 2e45b11 commit ac1026a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,10 @@ jobs:
run: npm -v
- name: Install Dependencies
run: npm i --ignore-scripts --no-audit --no-fund
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Set Tap RC
run: node ./test/fixtures/taprc.js
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
run: npm test --ignore-scripts
- name: Conclude Check
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ jobs:
run: npm -v
- name: Install Dependencies
run: npm i --ignore-scripts --no-audit --no-fund
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Set Tap RC
run: node ./test/fixtures/taprc.js
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
run: npm test --ignore-scripts
13 changes: 1 addition & 12 deletions scripts/template-oss/_step-git.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
- name: Support Long Paths
if: matrix.platform.os == 'windows-latest'
run: git config --system core.longpaths true
- name: Checkout
uses: actions/checkout@v3
{{#if jobCheckout}}
with:
{{#each jobCheckout}}
{{ @key }}: {{ this }}
{{/each}}
{{/if}}
- name: Setup Git User
run: |
git config --global user.email "[email protected]"
git config --global user.name "npm CLI robot"
{{> defaultStepGit }}
5 changes: 1 addition & 4 deletions scripts/template-oss/_step-test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Set Tap RC
run: node ./test/fixtures/taprc.js
- name: Test
run: {{ rootNpmPath }} test --ignore-scripts
{{> defaultStepTest }}

0 comments on commit ac1026a

Please sign in to comment.