TEST
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
dolphinth 2024-08-28 00:35:40 +08:00
parent e397230fb3
commit 789da49a50
3 changed files with 26 additions and 0 deletions

13
.drone.yml Normal file
View File

@ -0,0 +1,13 @@
kind: pipeline
name: default
steps:
- name: test
image: node
commands:
- npm test
- name: build
image: node
commands:
- npm install

1
index.js Normal file
View File

@ -0,0 +1 @@
console.log("Hello World");

12
package.json Normal file
View File

@ -0,0 +1,12 @@
{
"name": "drone-node",
"version": "1.0.0",
"description": "nodejs的测试",
"main": "index.js",
"scripts": {
"test": "node index.js"
},
"keywords": [],
"author": "",
"license": "ISC"
}