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 6ff3eed
Show file tree
Hide file tree
Showing 3 changed files with 5 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
2 changes: 2 additions & 0 deletions test/clone.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,8 @@ t.test('setup aditional tests', t => {
const git = (...cmd) => spawnGit(cmd, { cwd: regularRepo })
const write = (f, c) => fs.writeFileSync(`${regularRepo}/${f}`, c)
return git('init', '-b', 'main')
.then(() => git('config', 'user.name', 'pacotedev'))
.then(() => git('config', 'user.email', 'i+pacotedev@izs.me'))
.then(() => write('foo', 'bar'))
.then(() => git('add', 'foo'))
.then(() => git('commit', '-m', 'foobar'))
Expand Down
2 changes: 2 additions & 0 deletions test/is-clean.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ const write = (file, data) => writeFile(resolve(repo, file), data)

t.test('create git repo', t =>
spawn(['init'], { cwd: repo })
.then(() => spawn(['config', 'user.name', 'pacotedev'], { cwd: repo }))
.then(() => spawn(['config', 'user.email', 'i+pacotedev@izs.me'], { cwd: repo }))
.then(() => write('hello', 'world')))

t.test('dir is clean, just one unknown file', t =>
Expand Down

0 comments on commit 6ff3eed

Please sign in to comment.