From f80553b1d49d9f951ae5c7e8282fd93ae6fdc628 Mon Sep 17 00:00:00 2001 From: "Maarten A. Breddels" Date: Mon, 13 Nov 2023 13:35:55 +0100 Subject: [PATCH] Initial release @widgetti/solara-vuetify3-app 1.0.0 --- .../release_solara_vuetify_app-v3.yaml | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/release_solara_vuetify_app-v3.yaml diff --git a/.github/workflows/release_solara_vuetify_app-v3.yaml b/.github/workflows/release_solara_vuetify_app-v3.yaml new file mode 100644 index 000000000..740274f74 --- /dev/null +++ b/.github/workflows/release_solara_vuetify_app-v3.yaml @@ -0,0 +1,40 @@ +name: Release solara-vuetify3-app package + +on: + push: + tags: + - "@widgetti/solara-vuetify3-app@*" + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install node + uses: actions/setup-node@v1 + with: + node-version: "14.x" + registry-url: "https://registry.npmjs.org" + - name: Build the JS packages + run: | + cd packages + cd solara-widget-manager + npm install + npm run build + cd .. + cd solara-widget-manager8 + npm install + npm run build + cd .. + cd solara-vuetify3-app + npm install + npm run build + - name: Publish the NPM package + run: | + cd packages/solara-vuetify3-app + echo $PRE_RELEASE + if [[ $PRE_RELEASE == "true" ]]; then export TAG="next"; else export TAG="latest"; fi + npm publish --tag ${TAG} --access public + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + PRE_RELEASE: ${{ github.event.release.prerelease }}