This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
feat(report): improve the text for the report form #203
Workflow file for this run
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: 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: 🔎 Glean Lint | |
run: pnpm lint:glean | |
- 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 |