From f58782e0b218027501c1ed276dfd564e505d68bd Mon Sep 17 00:00:00 2001 From: PadowYT2 Date: Fri, 8 Dec 2023 08:03:07 +0000 Subject: [PATCH] Final touches hopefully... --- .github/workflows/nodejs.yml | 2 +- build-script.sh | 4 +--- publish-script.sh | 3 +++ 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 publish-script.sh diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index ad9f8e680..fdb3a78b6 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -32,7 +32,7 @@ jobs: run: yarn lint - name: Build Packages - run: BASE_PATH=/react-icons cd packages/preview/ && yarn build + run: BASE_PATH=/react-icons ./build-script.sh - uses: actions/upload-artifact@v3 with: diff --git a/build-script.sh b/build-script.sh index b185aa0b0..db459d763 100755 --- a/build-script.sh +++ b/build-script.sh @@ -6,6 +6,4 @@ time (cd packages/react-icons/ && yarn diff) (cd packages/_react-icons/ && npm pack |& tail) (cd packages/_react-icons-pack/ && npm pack |& tail) -# Publish -npm publish packages/_react-icons/*.tgz -npm publish packages/_react-icons-pack/*.tgz +(cd packages/preview/ && yarn build) diff --git a/publish-script.sh b/publish-script.sh new file mode 100644 index 000000000..3e8924007 --- /dev/null +++ b/publish-script.sh @@ -0,0 +1,3 @@ +# Publish +npm publish packages/_react-icons/*.tgz +npm publish packages/_react-icons-pack/*.tgz