Skip to content
name: Build Application
on:
workflow_call:
secrets:
token:
description: 'The GitHub/npm token'
required: true
jobs:
getver:
uses: OpenPhone/gha/.github/actions/getver@common-actions

Check failure on line 12 in .github/workflows/build-and-publish-typescript-project.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-and-publish-typescript-project.yml

Invalid workflow file

invalid value workflow reference: references to workflows must be rooted in '.github/workflows'
build:
name: Build and Publish Types
runs-on: ubuntu-22.04
needs: getver
if: github.event_name == 'push'
steps:
- name: Build
uses: OpenPhone/gha/.github/workflows/build-typescript-project.yml@common-actions
- name: Publish
uses: OpenPhone/gha/.github/actions/publish@common-actions
with:
token: ${{ inputs.token }}
version: ${{ needs.getver.outputs.version }}