Card issue #835
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 | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
# mobile はもういないじゃない。 | |
# build-frontend: | |
# name: Build Frontend | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Checkout Code | |
# uses: actions/checkout@v3 | |
# - name: Setup Node.js | |
# uses: actions/setup-node@v3 | |
# with: | |
# node-version: latest | |
# cache: npm | |
# - name: Install Node Packages | |
# run: npm ci | |
# working-directory: mobile | |
# shell: bash | |
# - name: Build | |
# run: npm run build | |
# working-directory: mobile | |
# shell: bash | |
# mobile: | |
# name: mobile code style checks | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Checkout Code | |
# uses: actions/checkout@v3 | |
# - name: Setup Node.js | |
# uses: actions/setup-node@v3 | |
# with: | |
# node-version: latest | |
# cache: npm | |
# - name: Install Node Packages | |
# run: npm ci | |
# working-directory: mobile | |
# shell: bash | |
# - name: Run ESLint | |
# run: npm run lint | |
# working-directory: mobile | |
# shell: bash | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Install Bun | |
uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: latest | |
- name: setup | |
run: make setup | |
- name: Build | |
run: make build | |
# Biome | |
style-check: | |
name: Code style check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: latest | |
- name: Install Biome | |
uses: biomejs/setup-biome@v2 | |
with: | |
version: latest | |
- run: make setup | |
- name: Biome Check | |
run: biome check | |
type-check: | |
name: Type Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: latest | |
- name: setup | |
run: make setup | |
working-directory: . | |
shell: bash | |
- name: Type Check web | |
run: bunx tsc --noEmit | |
working-directory: web | |
shell: bash | |
- name: Type Check server | |
run: bunx tsc --noEmit | |
working-directory: server | |
shell: bash | |
spell-check: | |
name: Spell Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: latest | |
- run: make setup | |
- run: make spell-check |