Skip to content

Commit e98a45d

Browse files
committed
fix: update build step to organize bundled artifacts into a dedicated directory
1 parent cef5daf commit e98a45d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,13 @@ jobs:
4040
id: build
4141
run: |
4242
npm install && npm run bundle
43+
4344
echo "name=$(jq -r .name package.json)" >> $GITHUB_OUTPUT
4445
echo "version=$(jq -r .version package.json)" >> $GITHUB_OUTPUT
45-
46+
47+
mkdir -p ./bundle/code-snippets
48+
mv ./bundle/* ./bundle/code-snippets/ 2>/dev/null || true
49+
4650
- name: Upload
4751
id: artifacts
4852
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)