Skip to content

Commit

Permalink
fix: replace switch with build in checkout (#602)
Browse files Browse the repository at this point in the history
Co-authored-by: Eunjae Lee <[email protected]>
  • Loading branch information
2 people authored and Eunjae Lee committed Jan 9, 2020
1 parent 138f5a1 commit ef5f8b9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/shipjs/src/step/setup/CI/addGitHubActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default ({
}),

() => {
print(' You still need to finish setting up at GitHub Actions.');
print(' You still need to finish setting up GitHub Actions.');
print(
' > https://community.algolia.com/shipjs/guide/getting-started.html#setup-github-actions'
);
Expand Down Expand Up @@ -97,14 +97,15 @@ on:
- <%= releaseBranch %>
jobs:
build:
name: Build
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
ref: <%= releaseBranch %>
- uses: actions/setup-node@master
with:
registry-url: "https://registry.npmjs.org"
- run: git switch <%= releaseBranch %>
- run: |
if [ -f "yarn.lock" ]; then
yarn install
Expand Down

0 comments on commit ef5f8b9

Please sign in to comment.