File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments