You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2022/04/07 12:18:49 UTC
[whimsy] branch master updated: Minimal test for path checks
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new a087ab33 Minimal test for path checks
a087ab33 is described below
commit a087ab33cf24ef3e800f41ce43dfdd2062d78044
Author: Sebb <se...@apache.org>
AuthorDate: Thu Apr 7 13:18:43 2022 +0100
Minimal test for path checks
---
.github/workflows/npmtest.yml | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/.github/workflows/npmtest.yml b/.github/workflows/npmtest.yml
new file mode 100644
index 00000000..c5255815
--- /dev/null
+++ b/.github/workflows/npmtest.yml
@@ -0,0 +1,34 @@
+name: test npm install
+on:
+ push:
+ paths:
+ - '**/npmtest.yml'
+
+ workflow_dispatch:
+
+jobs:
+ test:
+ strategy:
+ fail-fast: true
+ matrix:
+ os: [ubuntu-20.04, macos-latest]
+ ruby: [2.7]
+ runs-on: ${{ matrix.os }}
+ steps:
+ - name: Check Path 1
+ run: |
+ echo "==================="
+ echo $PATH
+ which -a node || true
+ which -a npm || true
+ echo "==================="
+ - uses: actions/setup-node@v2
+ with:
+ node-version: '14.19.1'
+ - name: Check Path 2
+ run: |
+ echo "==================="
+ echo $PATH
+ which -a node || true
+ which -a npm || true
+ echo "==================="