Migrate hyades frontend features (#12) #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build CI | |
on: | |
push: | |
branches: | |
- 'main' # Default branch | |
- '[0-9]+.[0-9]+.x' # Release branches | |
paths-ignore: | |
- '**/*.md' | |
- 'docs/**' | |
pull_request: | |
branches: | |
- 'main' # Default branch | |
paths-ignore: | |
- '**/*.md' | |
- 'docs/**' | |
workflow_dispatch: | |
permissions: { } | |
jobs: | |
call-build: | |
uses: ./.github/workflows/_meta-build.yaml | |
with: | |
node-versions: '["18", "20"]' | |
node-version-package: '18' | |
app-version: 'snapshot' | |
publish-container: ${{ github.ref == 'refs/heads/main' }} | |
permissions: | |
packages: write # Required to push images to ghcr.io | |
security-events: write # Required to upload trivy's SARIF output | |
secrets: | |
registry-0-usr: ${{ github.repository_owner }} | |
registry-0-psw: ${{ secrets.GITHUB_TOKEN }} |