Bump version solara-vuetify-app: 10.0.1 → 10.0.2 #22
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Unlike the Python package release, the javascript release doesn't depend on tests passing | |
# If a broken version is release without a Python release it isn't used, since the version | |
# is fixed in the Python package | |
name: Release solara-vuetify-app package | |
on: | |
push: | |
tags: | |
- "@widgetti/solara-vuetify-app@*" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
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-vuetify-app | |
npm install | |
npm run build | |
- name: Publish the NPM package | |
run: | | |
cd packages/solara-vuetify-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 }} |