Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
fix: use node 16 and npm ci in shipjs workflows (#333)
Browse files Browse the repository at this point in the history
Refs: #327
  • Loading branch information
subzero10 committed May 19, 2022
1 parent 1a2654f commit b0eef94
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/shipjs-manual-prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ jobs:
fetch-depth: 0
ref: master
- uses: actions/setup-node@v1
with:
node-version: '16.x'
- run: |
if [ -f "yarn.lock" ]; then
yarn install
else
npm install
npm ci
fi
- run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/shipjs-schedule-prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ jobs:
fetch-depth: 0
ref: master
- uses: actions/setup-node@v1
with:
node-version: '16.x'
- run: |
if [ -f "yarn.lock" ]; then
yarn install
else
npm install
npm ci
fi
- run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/shipjs-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ jobs:
ref: master
- uses: actions/setup-node@v1
with:
node-version: '16.x'
registry-url: "https://registry.npmjs.org"
- run: |
if [ -f "yarn.lock" ]; then
yarn install
else
npm install
npm ci
fi
- run: npx shipjs trigger
env:
Expand Down

0 comments on commit b0eef94

Please sign in to comment.