Skip to content
name: "@potatoes/lib-ui: PUSH to main"
on:
push:
branches: [ main ]
paths:
- 'packages/lib-ui/**'
- '.github/workflows/lib-ui-push-main.yaml'
jobs:
tests:
if: ${{ !contains(github.event.head_commit.message, '#skip') }}
uses: ./.github/actions/test

Check failure on line 13 in .github/workflows/lib-ui-push-main.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/lib-ui-push-main.yaml

Invalid workflow file

invalid value workflow reference: no version specified
with:
node_registry_url: 'https://npm.pkg.github.com'
node_scope: '@potatoes'
node_cache: 'npm'
install_command: 'npm ci'
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 }}
version:
needs: tests
uses: ./.github/worfklows/version.yaml
with:
git_ref_name: main
node_registry_url: 'https://npm.pkg.github.com'
node_scope: '@potatoes'
node_cache: 'npm'
version_command: 'npm version patch packages/lib-ui'
version_workspace: 'packages/lib-ui'
secrets:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
publish:
needs: version
uses: ./.github/worfklows/publish.yaml
with:
git_ref_name: main
node_registry_url: 'https://npm.pkg.github.com'
node_scope: '@potatoes'
node_cache: 'npm'
install_command: 'npm ci'
build_command: 'npm run build -w packages/lib-ui'
publish_command: 'npm publish -w packages/lib-ui'
secrets:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}