Merge pull request #199 from FlowFuse/release-1.14.0 #29
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
name: Release Published | |
on: | |
push: | |
tags: | |
- "v*.*.*" | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 16 | |
- run: npm install | |
- name: Publish launcher | |
uses: JS-DevTools/npm-publish@v2 | |
with: | |
token: ${{ secrets.NPM_PUBLISH_TOKEN }} | |
- name: Checkout Node-RED | |
uses: actions/checkout@v3 | |
with: | |
repository: node-red/node-red | |
path: node-red | |
- name: Build Theme | |
run: npm run build-theme -- --src=node-red | |
- name: clean up | |
run: rm -rf node-red | |
- name: Publish Theme | |
continue-on-error: true | |
uses: JS-DevTools/npm-publish@v2 | |
with: | |
package: lib/theme | |
token: ${{ secrets.NPM_PUBLISH_TOKEN }} |