Skip to content

Commit

Permalink
ci: workflow: checkout branch using checkout action
Browse files Browse the repository at this point in the history
  • Loading branch information
tokebe committed Oct 20, 2023
1 parent 94d0dbd commit 78b230b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- uses: actions/checkout@v3
with:
repository: biothings/biothings_explorer
ref: ${{ steps.branch-name.outputs.current_branch }}

- name: Use Node.js 18.x
uses: actions/setup-node@v3
Expand All @@ -31,7 +32,6 @@ jobs:

- name: pnpm install, generate coverage report
run: |
git checkout ${{ steps.branch-name.outputs.current_branch }}
pnpm run clone
pnpm run git checkout ${{ steps.branch-name.outputs.current_branch }}
pnpm i
Expand Down

0 comments on commit 78b230b

Please sign in to comment.