Skip to content

Backstop Publish

Backstop Publish #3

name: Backstop Publish
on:
workflow_dispatch:
workflow_call:
permissions:
actions: write
contents: write
pull-requests: write
env:
NODE_VERSION: 20
jobs:
backstop-publish-flow:
name: publish-flow
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
ref: ${{ github.event.pull_request.head.sha || github.ref }}
- name: Setup Node & Cache
uses: actions/setup-node@v4
with:
cache: "npm"
cache-dependency-path: package-lock.json
- name: Install
run: npm ci
- name: publish to npm
uses: ./.github/workflows/npm-push.yml
- name: publish to dockerhub
uses: ./.github/workflows/dockerhub-build-push.yml