Add CI
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: ["**"]
|
||||||
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
ci:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- run: npm install --production
|
||||||
|
- run: "./test.sh"
|
||||||
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
const assert = require('assert')
|
|
||||||
|
|
||||||
+1
-1
@@ -1,2 +1,2 @@
|
|||||||
humans:
|
humans: []
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
#!bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -xeuo pipefail
|
set -xeuo pipefail
|
||||||
|
|
||||||
node action.js txt >/tmp/t1
|
node action.js json >/dev/null
|
||||||
node action.js json >/tmp/t2
|
node action.js txt
|
||||||
node action.js shell >/tmp/t3
|
# check default arg
|
||||||
|
node action.js >/dev/null
|
||||||
|
node action.js shell
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user