Skip to content

Commit 53ee0d2

Browse files
committed
fix: checkout HEAD during release job
The previous job pushes a new commit, so the `release` job is always behind by a single commit.
1 parent 0a5dd7d commit 53ee0d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/pipeline.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
- uses: actions/setup-node@v2
2525
with:
2626
node-version: 16
27+
- run: git checkout HEAD^
2728
- run: npm ci
2829
- env:
2930
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)