Skip to content

refactor: πŸ› οΈ remove superfluous head tags #193

refactor: πŸ› οΈ remove superfluous head tags

refactor: πŸ› οΈ remove superfluous head tags #193

Workflow file for this run

name: Test & Deploy
on:
push:
branches:
- main
pull_request:
permissions:
actions: read
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref == 'refs/heads/main' }}
jobs:
test-and-deploy:
name: πŸš€ Test & Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 21
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- run: bun install --frozen-lockfile --ignore-scripts
- uses: nrwl/nx-set-shas@v4
- run: bunx nx-cloud start-ci-run --distribute-on="3 linux-large-js-bun"
- run: bunx nx-cloud record -- nx format:check
- run: bunx nx affected -t build lint test
- name: πŸ” Set up service account
if: github.ref == 'refs/heads/main'
env:
FIREBASE_SERVICE_ACCOUNT_MARMICODE_COOKBOOK: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_MARMICODE_COOKBOOK }}
run: |
echo $FIREBASE_SERVICE_ACCOUNT_MARMICODE_COOKBOOK > ~/.firebase-sa.json
echo "GOOGLE_APPLICATION_CREDENTIALS=$HOME/.firebase-sa.json" >> "$GITHUB_ENV"
- name: πŸš€ Deploy
if: github.ref == 'refs/heads/main'
run: bunx nx affected -t deploy --no-agents