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

Commit

Permalink
chore(builds): setup build system
Browse files Browse the repository at this point in the history
  • Loading branch information
bassrock committed Oct 2, 2023
1 parent 6283f7c commit 956c4f9
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 78 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @mozillasocial/web
30 changes: 24 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
name: ci
name: CI Build Checks

permissions: {}

on:
push:
branches:
- main
branches: ["main"]

Check failure on line 7 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / ci

Strings must use singlequote

Check failure on line 7 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / ci

Must use plain style scalar
pull_request:
branches:
- main
workflow_dispatch: {}
types: [opened, synchronize]

jobs:
ci:
Expand Down Expand Up @@ -37,3 +34,24 @@ jobs:

- name: 💪 Type check
run: pnpm test:typecheck

Check failure on line 37 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / ci

Trailing spaces not allowed
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

Check failure on line 57 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / ci

Newline required at end of file but not found
46 changes: 0 additions & 46 deletions .github/workflows/docker.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/release.yml

This file was deleted.

0 comments on commit 956c4f9

Please sign in to comment.