Skip to content

part 5, GHA, CI/CD

part 5, GHA, CI/CD #39

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
with:
node_registry_url: 'https://npm.pkg.github.com'
node_scope: '@potatoes'
node_cache: 'npm'
install_command: 'npm ci -w packages/lib-ui'
build_command: 'npm run build -w packages/lib-ui'
test_command: 'npm run test -w packages/lib-ui'
secrets:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}