Skip to content

Commit 8676940

Browse files
committed
ci(workflows): fix deploy/release collision and align all three workflows
deploy.yml was firing on release tag pushes because release-it commits package.json to master before tagging. This caused deploy and release to race. Fix: add tags-ignore: ['v*'] so deploy only fires on plain branch commits. Remove stale env: environment: gh-pages from ci.yml and deploy.yml — this set a useless env var, not a GitHub Pages environment (that's declared on the job). Add missing permissions, concurrency, and FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 to ci.yml. Add cache-dependency-path: package-lock.json to all three workflows.
1 parent 9e9dbd8 commit 8676940

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Deploy to GitHub Pages
33
on:
44
push:
55
branches: [master]
6+
tags-ignore: ['v*']
67
paths:
78
- 'src/**'
89
- 'public/**'

0 commit comments

Comments
 (0)