📦 Yeni build'a doğru #21
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: All tests | |
on: | |
push: | |
branches: ["ana", "prod"] | |
pull_request: | |
branches: ["ana", "prod"] | |
jobs: | |
build-blog: | |
name: Build KimlikDAO blog | |
strategy: | |
fail-fast: true | |
runs-on: macos-latest | |
steps: | |
- name: Clone the repo | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install bun | |
uses: oven-sh/setup-bun@v2 | |
- name: Install build tools | |
run: | | |
bun i | |
brew install pngcrush brotli zopfli woff2 webp | |
pip install fonttools | |
- name: Build prod worker | |
run: | | |
bun lib/birimler/builder.js blog | |
build-join: | |
name: Build KimlikDAO join | |
strategy: | |
fail-fast: true | |
runs-on: macos-latest | |
steps: | |
- name: Clone the repo | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install bun | |
uses: oven-sh/setup-bun@v2 | |
- name: Install build tools | |
run: | | |
bun i | |
brew install pngcrush brotli zopfli woff2 webp | |
pip install fonttools | |
- name: Build the worker | |
run: | | |
bun lib/birimler/builder.js join | |
build-discord: | |
name: Build KimlikDAO discord worker | |
strategy: | |
fail-fast: true | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone the repo | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install bun | |
uses: oven-sh/setup-bun@v2 | |
- name: Install build tools | |
run: | | |
bun i | |
- name: Build the worker | |
run: | | |
bun lib/birimler/builder.js discord |