Skip to content

feat(actions): Reusable pr workflow #27

feat(actions): Reusable pr workflow

feat(actions): Reusable pr workflow #27

Workflow file for this run

name: Publish Storybook (Chromatic build from PR)
on:
workflow_call:
inputs:
config-path:
required: false
type: string
secrets:
envPAT:
required: false
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
jobs:
Prepare:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 18
registry-url: https://registry.npmjs.org
- name: Create Build
with:
cache: 'npm'
run: |

Check failure on line 37 in .github/workflows/pull_request.yml

View workflow run for this annotation

GitHub Actions / Publish Storybook (Chromatic build from PR)

Invalid workflow file

The workflow is not valid. .github/workflows/pull_request.yml (Line: 37, Col: 9): Unexpected value 'run' .github/workflows/pull_request.yml (Line: 34, Col: 9): Required property is missing: uses
pwd
npm ci --loglevel=warn
npm run build