test node directly

This commit is contained in:
Anthony Sottile 2023-01-31 19:37:37 -05:00
parent 3c2ca11332
commit 909dd0e8a1
8 changed files with 41 additions and 72 deletions

View file

@ -1,5 +0,0 @@
- id: foo
name: Foo
entry: foo
language: node
files: \.js$

View file

@ -1,3 +0,0 @@
#!/usr/bin/env node
console.log('Hello World');

View file

@ -1,5 +0,0 @@
{
"name": "foo",
"version": "0.0.1",
"bin": {"foo": "./bin/main.js"}
}

View file

@ -1,6 +0,0 @@
- id: versioned-node-hook
name: Versioned node hook
entry: versioned-node-hook
language: node
language_version: 9.3.0
files: \.js$

View file

@ -1,4 +0,0 @@
#!/usr/bin/env node
console.log(process.version);
console.log('Hello World');

View file

@ -1,5 +0,0 @@
{
"name": "versioned-node-hook",
"version": "0.0.1",
"bin": {"versioned-node-hook": "./bin/main.js"}
}