mirror of
https://github.com/actions/create-release.git
synced 2025-06-14 12:57:43 +00:00
Add initial test stub
This commit is contained in:
parent
3d8e310430
commit
97fca7f8d6
@ -4,8 +4,8 @@
|
||||
"description": "Generate a release",
|
||||
"main": "dist/index.js",
|
||||
"scripts": {
|
||||
"lint": "eslint 'src/**.js' 'test/**.js' --fix",
|
||||
"test": "eslint 'src/**.js' 'test/**.js' --fix && jest",
|
||||
"lint": "eslint 'src/**.js' 'tests/**.js' --fix",
|
||||
"test": "eslint 'src/**.js' 'tests/**.js' --fix && jest",
|
||||
"build": "ncc build src/main.js",
|
||||
"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