From e05272feb95f45711ed5505d1a86918f87ffe467 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Wed, 28 Aug 2024 19:12:46 +0900 Subject: [PATCH] chore: Fix publish pipeline of `@swc/html` --- .github/workflows/publish-npm-package.yml | 1 + packages/html/package.json | 29 ++++++++++------------- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/.github/workflows/publish-npm-package.yml b/.github/workflows/publish-npm-package.yml index c1d69251b69..efd23ca4747 100644 --- a/.github/workflows/publish-npm-package.yml +++ b/.github/workflows/publish-npm-package.yml @@ -538,6 +538,7 @@ jobs: working-directory: ./packages/${{ inputs.package }} run: | ./scripts/cli_artifacts.sh + ls -R ./artifacts ls -R ./artifacts_cli npm run artifacts diff --git a/packages/html/package.json b/packages/html/package.json index 767cac0952b..c8a00f647a3 100644 --- a/packages/html/package.json +++ b/packages/html/package.json @@ -21,22 +21,19 @@ "url": "https://github.com/swc-project/swc/issues" }, "napi": { - "name": "swc-html", - "triples": { - "defaults": true, - "targets": [ - "x86_64-apple-darwin", - "x86_64-pc-windows-msvc", - "x86_64-unknown-linux-gnu", - "x86_64-unknown-linux-musl", - "i686-pc-windows-msvc", - "armv7-unknown-linux-gnueabihf", - "aarch64-unknown-linux-gnu", - "aarch64-apple-darwin", - "aarch64-unknown-linux-musl", - "aarch64-pc-windows-msvc" - ] - } + "binaryName": "swc-html", + "targets": [ + "x86_64-apple-darwin", + "x86_64-pc-windows-msvc", + "x86_64-unknown-linux-gnu", + "x86_64-unknown-linux-musl", + "i686-pc-windows-msvc", + "armv7-unknown-linux-gnueabihf", + "aarch64-unknown-linux-gnu", + "aarch64-apple-darwin", + "aarch64-unknown-linux-musl", + "aarch64-pc-windows-msvc" + ] }, "publishConfig": { "registry": "https://registry.npmjs.org/",