Skip to content

Commit

Permalink
fix: updating release steps to fetch latest dependencies (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
kridai committed Nov 15, 2021
1 parent 14f7cb3 commit ece2b9f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cli-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
- run: npm install
- run: make install
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/oclif-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: |
npm install
make install
npm list @twilio/cli-core
if [ "$RUNNER_OS" == "macOS" ]; then
brew install makensis
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/platform-executables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: |
npm install
make install
if [ "$RUNNER_OS" == "macOS" ]; then
brew install makensis
fi
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:
- name: Checkout cli repo
uses: actions/checkout@v2
- run: npm install
- run: make install
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Run git and npm update
run: |
git pull
npm install
make install
- name: Semantic Release runs
id: semantic-release
run: npx semantic-release -t \${version}
Expand All @@ -77,7 +77,7 @@ jobs:
uses: actions/checkout@v2
- run: |
git pull
npm install
make install
- name: Extract branch name
id: extract_branch
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
Expand All @@ -98,7 +98,7 @@ jobs:
uses: actions/checkout@v2
- run: |
git pull
npm install
make install
- name: Extract branch name
id: extract_branch
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
Expand All @@ -118,7 +118,7 @@ jobs:
uses: actions/checkout@v2
- run: |
git pull
npm install
make install
- name: Extract branch name
id: extract_branch
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rpmbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: generate linux tarball
run: |
npm cache clear & npm install
make install
npm install -g @oclif/dev-cli
oclif-dev pack --targets=linux-x64
Expand Down

0 comments on commit ece2b9f

Please sign in to comment.