-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial release @widgetti/solara-vuetify3-app 1.0.0
- Loading branch information
1 parent
9916fa3
commit f80553b
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 }} |