Skip to content

fix: translate linked-signal and resource guide (#1001) #112

fix: translate linked-signal and resource guide (#1001)

fix: translate linked-signal and resource guide (#1001) #112

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