Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(setup): add github actions as CI option #502

Merged
merged 23 commits into from
Dec 20, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix prepare
  • Loading branch information
jeetiss committed Dec 17, 2019
commit e452c5331e72f7927bbe6a04aecb95aacf8d0365
8 changes: 6 additions & 2 deletions packages/shipjs/src/step/setup/CI/addGithubActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,10 @@ name: Ship js Manual Prepare
runs-on: Ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 0
ref: <%= baseBranch %>
- uses: actions/setup-node@master
- run: git checkout <%= baseBranch %>
- run: npm install
- run: |
git config --global user.email '<%= gitUserEmail %>'
Expand Down Expand Up @@ -186,8 +188,10 @@ jobs:
runs-on: Ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 0
ref: <%= baseBranch %>
- uses: actions/setup-node@master
- run: git switch <%= baseBranch %>
- run: npm install
- run: |
git config --global user.email '<%= gitUserEmail %>'
Expand Down