Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

fix(profile): click analytics [MOSOWEB-43] #83

fix(profile): click analytics [MOSOWEB-43]

fix(profile): click analytics [MOSOWEB-43] #83

Workflow file for this run

name: CI Build Checks
permissions: {}
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize]
jobs:
ci:
name: Lint & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm
- name: 📦 Install dependencies
run: pnpm install --frozen-lockfile
- name: 🚧 Set up project
run: pnpm nuxi prepare
- name: 🧪 Test project
run: pnpm test tests/unit
- name: 📝 Lint
run: pnpm lint
# Mozilla.Social changes have errors with this check, disabling for now.
# - name: 💪 Type check
# run: pnpm test:typecheck
docker-build:
name: Build Docker Image
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and export to Docker
uses: docker/build-push-action@v5
with:
context: .
load: true
cache-from: type=gha
cache-to: type=gha,mode=max