Skip to content

Commit

Permalink
fixup! deps: @npmcli/template-oss@2.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pacotedev committed Feb 11, 2022
1 parent b647f06 commit b0a4e64
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,4 @@ jobs:
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
- run: npm -v
- run: npm i
- run: |
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
npm test --ignore-scripts
- run: npm test --ignore-scripts
5 changes: 5 additions & 0 deletions test/is-clean.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ const { promisify } = require('util')
const writeFile = promisify(require('fs').writeFile)
const write = (file, data) => writeFile(resolve(repo, file), data)

t.before(async () => {
await spawn(['config', 'user.name', 'pacotedev'], { cwd: repo })
await spawn(['config', 'user.email', 'i+pacotedev@izs.me'], { cwd: repo })
})

t.test('create git repo', t =>
spawn(['init'], { cwd: repo })
.then(() => write('hello', 'world')))
Expand Down

0 comments on commit b0a4e64

Please sign in to comment.