Skip to content

Commit

Permalink
test: skip sub-dir
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode authored and nikoladavitkovski committed Sep 5, 2022
1 parent 61a79db commit 46dcde5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm --version
- run: npm ci --ignore-scripts
- run: npm test
3 changes: 3 additions & 0 deletions test/3_from-sub-dir.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
. "$(dirname -- "$0")/functions.sh"
setup

# Skip test for npm 6
npm --version | grep "^6\."

# Example:
# .git
# sub/package.json
Expand Down

0 comments on commit 46dcde5

Please sign in to comment.