fix: translate linked-signal and resource guide (#1001) #112
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 adev and deploy to production | |
on: | |
push: | |
branches: | |
- main | |
env: | |
BAZEL_REPO_CACHE_PATH: '~/.cache/bazel_repo_cache' | |
jobs: | |
adev-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.node-version' | |
cache: yarn | |
- uses: bazel-contrib/[email protected] | |
with: | |
bazelisk-cache: true | |
disk-cache: true | |
repository-cache: true | |
bazelrc: | | |
# Print all the options that apply to the build. | |
# This helps us diagnose which options override others | |
# (e.g. /etc/bazel.bazelrc vs. tools/bazel.rc) | |
build --announce_rc | |
# More details on failures | |
build --verbose_failures=true | |
# CI supports colors but Bazel does not detect it. | |
common --color=yes | |
- run: yarn install | |
- run: yarn build | |
- name: Deploy to Firebase Hosting | |
uses: FirebaseExtended/[email protected] | |
with: | |
repoToken: "${{ secrets.GITHUB_TOKEN }}" | |
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}" | |
projectId: angular-ja | |
channelId: live |