mirror of
https://github.com/actions/create-release.git
synced 2025-06-15 13:27:43 +00:00
Add initial test stub
This commit is contained in:
parent
3d8e310430
commit
97fca7f8d6
@ -4,8 +4,8 @@
|
|||||||
"description": "Generate a release",
|
"description": "Generate a release",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint 'src/**.js' 'test/**.js' --fix",
|
"lint": "eslint 'src/**.js' 'tests/**.js' --fix",
|
||||||
"test": "eslint 'src/**.js' 'test/**.js' --fix && jest",
|
"test": "eslint 'src/**.js' 'tests/**.js' --fix && jest",
|
||||||
"build": "ncc build src/main.js",
|
"build": "ncc build src/main.js",
|
||||||
"precommit": "npm run build && git add dist/"
|
"precommit": "npm run build && git add dist/"
|
||||||
},
|
},
|
||||||
|
2
tests/main.test.js
Normal file
2
tests/main.test.js
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
/* eslint-disable no-undef */
|
||||||
|
test('that tests work', () => {});
|
Loading…
x
Reference in New Issue
Block a user