Skip to content

Commit

Permalink
fix: enable logging for npm install action (#1559)
Browse files Browse the repository at this point in the history
* add debug step to npm action
* add another log
* up package-lock
  • Loading branch information
weboko authored Sep 11, 2023
1 parent 55431a5 commit 833b02a
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 63 deletions.
14 changes: 12 additions & 2 deletions .github/actions/npm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,18 @@ name: npm i
runs:
using: "composite"
steps:
- run: echo "$GITHUB_CONTEXT"
shell: bash
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
- run: npm i
shell: bash
if: true
if: ${{ contains('
refs/heads/master
refs/heads/release-please--branches--master
', github.ref) }}
- uses: bahmutov/npm-install@v1
if: false
if: ${{ contains('
refs/heads/master
refs/heads/release-please--branches--master
', github.ref) == false }}
139 changes: 78 additions & 61 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 833b02a

Please sign in to comment.