2023-03-02 23:31:34 +00:00
|
|
|
name: npm i
|
|
|
|
|
|
|
|
runs:
|
|
|
|
using: "composite"
|
|
|
|
steps:
|
2023-09-11 13:30:36 +00:00
|
|
|
- run: echo "$GITHUB_CONTEXT"
|
|
|
|
shell: bash
|
|
|
|
env:
|
|
|
|
GITHUB_CONTEXT: ${{ toJson(github) }}
|
2023-03-02 23:31:34 +00:00
|
|
|
- run: npm i
|
|
|
|
shell: bash
|
2023-09-11 13:30:36 +00:00
|
|
|
if: ${{ contains('
|
|
|
|
refs/heads/master
|
|
|
|
refs/heads/release-please--branches--master
|
|
|
|
', github.ref) }}
|
2023-03-02 23:31:34 +00:00
|
|
|
- uses: bahmutov/npm-install@v1
|
2023-09-11 13:30:36 +00:00
|
|
|
if: ${{ contains('
|
|
|
|
refs/heads/master
|
|
|
|
refs/heads/release-please--branches--master
|
|
|
|
', github.ref) == false }}
|