Commit 046c7a3
authored
ci: fix release artifacts and optimize build workflows (#23)
* ci: restrict build workflow to PRs targeting main
Only run build workflow when pull requests target the main branch,
preventing unnecessary builds on feature branch pushes.
* ci: update release trigger to semantic version pattern
Change tag pattern to require v prefix (e.g., v1.0.0) following
semantic versioning conventions.
* fix: correct fonts directory path in release workflow
Update release workflow to zip fonts from public/fonts directory
where they were moved, fixing missing artifacts in releases.
* ci: rename release artifact and add error handling
- Rename fonts.zip to ServerMono-fonts.zip for clarity
- Add artifactErrorsFailBuild to catch upload failures
- Include individual font files as artifacts
* ci: update GitHub Actions to latest versions
Update checkout action from v3 to v4 to address actionlint
warnings and ensure compatibility.
* ci: use npm ci in build workflow
Replace npm install with npm ci for faster, more reliable builds
with reproducible dependency installation.
* build: track package-lock.json for reproducible builds
Enable npm ci in CI/CD workflows by committing package-lock.json.
This ensures consistent dependency versions across environments
and faster, more reliable builds.1 parent 020f346 commit 046c7a3
File tree
4 files changed
+2114
-10
lines changed- .github/workflows
4 files changed
+2114
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
15 | | - | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | | - | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | | - | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | | - | |
20 | | - | |
| 20 | + | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
| 27 | + | |
| 28 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | | - | |
| 19 | + | |
0 commit comments