This commit is contained in:
Tim Ruffles
2019-12-19 15:43:45 +00:00
parent 1454285019
commit 872bad546e
4 changed files with 20 additions and 7 deletions
+13
View File
@@ -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"
-2
View File
@@ -1,2 +0,0 @@
const assert = require('assert')
+1 -1
View File
@@ -1,2 +1,2 @@
humans:
humans: []
Regular → Executable
+6 -4
View File
@@ -1,8 +1,10 @@
#!bin/bash
#!/bin/bash
set -xeuo pipefail
node action.js txt >/tmp/t1
node action.js json >/tmp/t2
node action.js shell >/tmp/t3
node action.js json >/dev/null
node action.js txt
# check default arg
node action.js >/dev/null
node action.js shell