Skip to content

Commit 833b02a

Browse files
authored
fix: enable logging for npm install action (#1559)
* add debug step to npm action * add another log * up package-lock
1 parent 55431a5 commit 833b02a

File tree

2 files changed

+90
-63
lines changed

2 files changed

+90
-63
lines changed

.github/actions/npm/action.yml

+12-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,18 @@ name: npm i
33
runs:
44
using: "composite"
55
steps:
6+
- run: echo "$GITHUB_CONTEXT"
7+
shell: bash
8+
env:
9+
GITHUB_CONTEXT: ${{ toJson(github) }}
610
- run: npm i
711
shell: bash
8-
if: true
12+
if: ${{ contains('
13+
refs/heads/master
14+
refs/heads/release-please--branches--master
15+
', github.ref) }}
916
- uses: bahmutov/npm-install@v1
10-
if: false
17+
if: ${{ contains('
18+
refs/heads/master
19+
refs/heads/release-please--branches--master
20+
', github.ref) == false }}

package-lock.json

+78-61
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)