Skip to content

Commit b2633a4

Browse files
committed
ci: Fix CI
1 parent 5c14850 commit b2633a4

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,15 +119,23 @@ jobs:
119119
registry-url: 'https://registry.npmjs.org'
120120
- run: sudo apt-get update
121121
- run: sudo apt-get install --yes --no-install-recommends optipng imagemagick build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev liblzma-dev
122-
- run: npm ci
123122
- name: Import artifacts
124123
uses: actions/download-artifact@v6
125124
with:
126125
name: dist
127126
path: dist
127+
- name: Copy built artifacts into package root (skip rebuild)
128+
run: |
129+
if [ -d "dist/built" ]; then
130+
cp -a dist/built/. .
131+
else
132+
echo "ERROR: dist/built not found; aborting publish"
133+
exit 1
134+
fi
128135
- name: Install semantic-release
129136
run: npm install semantic-release --no-save
130137
- name: Release
131138
env:
132139
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
140+
NPM_CONFIG_IGNORE_SCRIPTS: 'true'
133141
run: npx semantic-release

0 commit comments

Comments
 (0)