chore(deps): update devdependencies #610
This file contains hidden or 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
# Environment Vars: Can't be passed to `with` statements: https://github.com/orgs/community/discussions/26671 | |
name: CI/CD Pipeline | |
on: | |
push: | |
branches: ['master', 'alpha', 'beta'] | |
pull_request: # Trigger on pull request events | |
jobs: | |
build: # Job defined in a separate file (build.yml) | |
needs: [] | |
uses: ./.github/workflows/build.yml # Path to the reusable workflow file | |
with: | |
node-version: 20 | |
build-artifacts-name: 'build-artifacts' | |
test: # Job defined in a separate file (test.yml) | |
needs: ['build'] | |
uses: ./.github/workflows/test.yml | |
permissions: | |
contents: read | |
actions: read | |
checks: write | |
with: | |
node-version: 20 | |
build-artifacts-name: ${{ needs.build.outputs.build-artifacts-name }} | |
# app-docs | |
app-docs: # Job defined in a separate file (app-docs.yml) | |
needs: ['build', 'test'] | |
uses: ./.github/workflows/app-docs.yml # Path to the reusable workflow file | |
with: | |
node-version: 20 | |
build-artifacts-name: ${{ needs.build.outputs.build-artifacts-name }} | |
secrets: inherit | |
# app-angular (Coming soon) | |
publish-packages: # Job defined in a separate file (publish-packages.yml) | |
needs: ['build', 'test'] | |
uses: ./.github/workflows/publish-packages.yml # Path to the reusable workflow file | |
if: ${{ success() && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/alpha' || github.ref == 'refs/heads/beta') }} | |
with: | |
node-version: 20 | |
build-artifacts-name: ${{ needs.build.outputs.build-artifacts-name }} | |
secrets: inherit | |
permissions: | |
contents: write |