Skip to content

Commit eb6db8f

Browse files
authored
Fix publish CI (#6)
2 parents 1fa0763 + 1baed93 commit eb6db8f

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,21 @@ jobs:
6363
- name: Install latest NPM
6464
run: npm i -g npm@latest
6565

66-
- name: Download artifacts
66+
- name: Download build artifact
6767
uses: actions/download-artifact@v4
68+
with:
69+
name: package
70+
71+
- name: Extract build package
72+
working-directory: ./package
73+
run: tar -xzf cldn-components-0.0.0-dev.tgz
6874

6975
- name: Set version from release tag
70-
working-directory: ./package/package
7176
run: npm version ${{ github.event.release.tag_name }} --git-tag-version=false
7277

78+
- name: Copy package.json to build package
79+
run: cp package.json package/package
80+
7381
- name: Publish to NPM
7482
working-directory: ./package/package
7583
run: npm publish --provenance --access public

0 commit comments

Comments
 (0)