-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Change NPM's default directory
- Loading branch information
1 parent
2051565
commit 061656c
Showing
1 changed file
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,10 +23,14 @@ jobs: | |
uses: reviewdog/[email protected] | ||
- name: Run static analysis | ||
uses: reviewdog/[email protected] | ||
- name: Set up bats | ||
run: sudo npm install -g [email protected] | ||
- name: Run tests | ||
run: bats --report-formatter junit . completion/bash | ||
run: | | ||
# workaround for https://github.com/actions/runner-images/issues/9644 | ||
mkdir ~/.npm-global | ||
npm config set prefix '~/.npm-global' | ||
export PATH=~/.npm-global/bin:$PATH | ||
npm install -g [email protected] | ||
bats --report-formatter junit . completion/bash | ||
- name: Create test report | ||
uses: dorny/[email protected] | ||
if: always() | ||
|