From 0a4782164626a24ae4bf2f593e6364a5f9e4b8bb Mon Sep 17 00:00:00 2001 From: Nick Fields Date: Fri, 30 Oct 2020 19:49:12 -0400 Subject: [PATCH] test: add log example to ci workflow --- .github/scripts/log-examples.js | 3 +++ .github/workflows/ci_cd.yml | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 .github/scripts/log-examples.js diff --git a/.github/scripts/log-examples.js b/.github/scripts/log-examples.js new file mode 100644 index 0000000..e510778 --- /dev/null +++ b/.github/scripts/log-examples.js @@ -0,0 +1,3 @@ +console.log('console.log test'); +process.stdout.write('stdout test'); +process.stderr.write('stderr test'); diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index efc7866..84ceb3c 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -191,6 +191,11 @@ jobs: expected: failure actual: ${{ steps.sad_path_timeout.outcome }} + - name: log examples + uses: ./ + with: + command: node ./.github/scripts/log-examples.js + # runs on push to master only cd: name: Publish Action