Skip to content

Commit

Permalink
ci: set checkout fetch-depth to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbousquet committed Oct 30, 2024
1 parent 0643cf5 commit c68bf6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org'
Expand Down
1 change: 1 addition & 0 deletions release-actions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ releaseProd(){
fi

echo "=> Get "$BRANCH" branch of arlas-d3 project"
git fetch
git checkout "$BRANCH"
git pull origin "$BRANCH"
echo "=> Test to lint and build the project on "$BRANCH" branch"
Expand Down

0 comments on commit c68bf6e

Please sign in to comment.