Skip to content

Merge pull request #3014 from FlowFuse/rel131 #76

Merge pull request #3014 from FlowFuse/rel131

Merge pull request #3014 from FlowFuse/rel131 #76

Workflow file for this run

name: Release Published
on:
push:
tags:
- "v*.*.*"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.MAINTENANCE_SYNC_TOKEN }}
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm run build
# - run: npm run test
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_PUBLISH_TOKEN }}
- name: Resync Maintenance
if: ${{ endsWith(github.ref, '.0') }}
run: |
git checkout maintenance
git reset --hard origin/main
git push --force origin maintenance