Skip to content

Commit 9e5dea9

Browse files
Merge pull request #57 from technote-space/release/next-v1.5.0
release: v1.5.1
2 parents 42a2d22 + 0d8f858 commit 9e5dea9

File tree

3 files changed

+121
-108
lines changed

3 files changed

+121
-108
lines changed

__tests__/index.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
spyOnStdout,
55
stdoutCalledWith,
66
testChildProcess,
7-
spyOnExec,
7+
spyOnSpawn,
88
execCalledWith,
99
testFs,
1010
setChildProcessParams,
@@ -58,7 +58,7 @@ describe('execute', () => {
5858
});
5959

6060
it('should do nothing', async() => {
61-
const mockExec = spyOnExec();
61+
const mockExec = spyOnSpawn();
6262
const mockStdout = spyOnStdout();
6363
process.argv = [
6464
'node',
@@ -78,7 +78,7 @@ describe('execute', () => {
7878
});
7979

8080
it('should push 1', async() => {
81-
const mockExec = spyOnExec();
81+
const mockExec = spyOnSpawn();
8282
const mockStdout = spyOnStdout();
8383
const cwd = process.cwd();
8484
process.argv = [
@@ -224,7 +224,7 @@ describe('execute', () => {
224224
});
225225

226226
it('should push 2', async() => {
227-
const mockExec = spyOnExec();
227+
const mockExec = spyOnSpawn();
228228
const mockStdout = spyOnStdout();
229229
const cwd = process.cwd();
230230
process.argv = [
@@ -360,7 +360,7 @@ describe('execute', () => {
360360
});
361361

362362
it('should dry run', async() => {
363-
const mockExec = spyOnExec();
363+
const mockExec = spyOnSpawn();
364364
const mockStdout = spyOnStdout();
365365
const cwd = process.cwd();
366366
process.argv = [

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@technote-space/release-github-actions-cli",
3-
"version": "1.5.0",
3+
"version": "1.5.1",
44
"description": "Release GitHub Actions Cli",
55
"author": {
66
"name": "Technote",
@@ -29,21 +29,21 @@
2929
"release-ga": "./bin/release-ga"
3030
},
3131
"dependencies": {
32-
"@technote-space/release-github-actions": "^4.0.0",
33-
"commander": "^4.1.1",
32+
"@technote-space/release-github-actions": "^4.1.1",
33+
"commander": "^5.0.0",
3434
"cosmiconfig": "^6.0.0",
3535
"dotenv": "^8.2.0",
3636
"js-yaml": "^3.13.1"
3737
},
3838
"devDependencies": {
3939
"@commitlint/cli": "^8.3.5",
4040
"@commitlint/config-conventional": "^8.3.4",
41-
"@technote-space/github-action-helper": "^1.2.2",
42-
"@technote-space/github-action-test-helper": "^0.2.5",
43-
"@types/jest": "^25.1.3",
44-
"@types/node": "^13.7.7",
45-
"@typescript-eslint/eslint-plugin": "^2.22.0",
46-
"@typescript-eslint/parser": "^2.22.0",
41+
"@technote-space/github-action-helper": "^2.0.0",
42+
"@technote-space/github-action-test-helper": "^0.3.1",
43+
"@types/jest": "^25.1.4",
44+
"@types/node": "^13.9.1",
45+
"@typescript-eslint/eslint-plugin": "^2.24.0",
46+
"@typescript-eslint/parser": "^2.24.0",
4747
"eslint": "^6.8.0",
4848
"husky": "^4.2.3",
4949
"jest": "^25.1.0",

0 commit comments

Comments
 (0)