Skip to content

Commit 8d3d1c6

Browse files
committed
Refines CI publish workflow
Makes the template generation script executable to ensure it runs correctly in the CI environment. Removes the redundant dependency installation step from the publish job to optimize pipeline execution.
1 parent 31460e0 commit 8d3d1c6

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: CI/CD
33
on:
44
push:
55
branches: [main]
6-
tags: ['v*']
6+
tags: ["v*"]
77
pull_request:
88
branches: [main]
99

@@ -18,7 +18,6 @@ jobs:
1818
with:
1919
node-version: 20
2020
registry-url: https://registry.npmjs.org
21-
- run: npm ci
2221
- name: Generate template/ for publish
2322
run: bash scripts/generate-template.sh
2423
- run: npm publish

scripts/generate-template.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)