Shared workflows and org-level config for brickhouse-tech.
Node.js test matrix. Runs install, lint, test.
jobs:
tests:
uses: brickhouse-tech/.github/.github/workflows/tests.yml@main
# Optional overrides:
# with:
# node-versions: '["20.x", "22.x"]'
# lint: falseConventional commits → commit-and-tag-version → push tags. Requires GH_TOKEN secret.
jobs:
release:
needs: [tests]
uses: brickhouse-tech/.github/.github/workflows/release.yml@main
secrets:
GH_TOKEN: ${{ secrets.GH_TOKEN }}OIDC npm publish on v* tag. No NPM_TOKEN needed.
jobs:
publish:
needs: [tests]
uses: brickhouse-tech/.github/.github/workflows/publish.yml@main.github/workflows/tests.yml
name: tests
on:
workflow_call:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
tests:
uses: brickhouse-tech/.github/.github/workflows/tests.yml@main.github/workflows/release.yml
name: release
on:
push:
branches: ["master"]
tags-ignore: ['**']
jobs:
tests:
uses: brickhouse-tech/.github/.github/workflows/tests.yml@main
release:
needs: [tests]
uses: brickhouse-tech/.github/.github/workflows/release.yml@main
secrets:
GH_TOKEN: ${{ secrets.GH_TOKEN }}.github/workflows/publish.yml
name: publish
on:
push:
tags:
- "v*"
jobs:
tests:
uses: brickhouse-tech/.github/.github/workflows/tests.yml@main
publish:
needs: [tests]
uses: brickhouse-tech/.github/.github/workflows/publish.yml@main