Skip to content

part 5, GHA, CI/CD

part 5, GHA, CI/CD #32

Workflow file for this run

name: "@potatoes/lib-ui: PR to main"
on:
pull_request:
branches: [ main ]
paths:
- 'packages/lib-ui/**'
jobs:
tests:
if: ${{github.event.pull_request.draft == false && !contains(github.event.head_commit.message, '#skip') }}
uses: ./.github/workflows/test.yaml

Check failure on line 12 in .github/workflows/lib-ui-pr.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/lib-ui-pr.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/lib-ui-pr.yaml" -> "./.github/workflows/test.yaml" : Invalid type for `on`
with:
node_registry_url: 'https://npm.pkg.github.com'
node_scope: '@potatoes'
node_cache: 'npm'
install_workspaces: '-w packages/lib-ui'
build_run_script: 'build -w packages/lib-ui'
test_run_script: 'test -w packages/lib-ui'
secrets:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}