Skip to content

Commit

Permalink
Migrate: Migrate to remix (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi authored Aug 29, 2024
1 parent a2080d0 commit 8745ef7
Show file tree
Hide file tree
Showing 108 changed files with 11,643 additions and 8,999 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ runs:
ENV_FILE=.env.build
${{ inputs.build-args }}
platforms: linux/amd64,linux/arm64
push: true
push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
tags: |
ghcr.io/${{ github.repository_owner }}/chart_cyanvas/${{ inputs.directory-name }}:${{ env.CURRENT_DATETIME }}
ghcr.io/${{ github.repository_owner }}/chart_cyanvas/${{ inputs.directory-name }}:latest
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/backend-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ jobs:
bundle exec rake parallel:spec
build:
runs-on: ubuntu-latest
if: github.ref_name == 'main'
needs:
- check
permissions:
Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/frontend-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ on:
- ".github/workflows/frontend-*.yml"
- "Rakefile"
- "config.test.yml"
pull_request:
paths:
- "frontend/**"
- ".github/workflows/frontend-*.yml"
- "Rakefile"
- "config.test.yml"
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -36,7 +42,7 @@ jobs:
working-directory: ./frontend
run: |
pnpm i
pnpm lint
pnpm check
- name: Run frontend typecheck
working-directory: ./frontend
Expand All @@ -45,7 +51,6 @@ jobs:
build:
runs-on: ubuntu-latest
if: github.ref_name == 'main'
needs:
- check
permissions:
Expand All @@ -63,13 +68,6 @@ jobs:
node-version-file: frontend/.node-version
cache: "pnpm"
cache-dependency-path: frontend/pnpm-lock.yaml
- name: Cache .next
uses: actions/cache@v3
with:
path: frontend/.next
key: ${{ runner.os }}-next-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-next-

- name: Build production
working-directory: ./frontend
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/sub-audio-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ on:
- ".github/workflows/sub-audio-*.yml"
- "Rakefile"
- "config.test.yml"
pull_request:
paths:
- "sub-audio/**"
- ".github/workflows/sub-audio-*.yml"
- "Rakefile"
- "config.test.yml"
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -59,7 +65,6 @@ jobs:
poetry run poe test
- name: Build image
if: github.ref_name == 'main'
uses: ./.github/actions/build
with:
directory-name: sub-audio
7 changes: 6 additions & 1 deletion .github/workflows/sub-chart-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ on:
- ".github/workflows/sub-chart-*.yml"
- "Rakefile"
- "config.test.yml"
pull_request:
paths:
- "sub-chart/**"
- ".github/workflows/sub-chart-*.yml"
- "Rakefile"
- "config.test.yml"
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -47,7 +53,6 @@ jobs:
pnpm typecheck
- name: Build production
if: github.ref_name == 'main'
working-directory: ./sub-chart
run: |
pnpm build
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/sub-image-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ on:
- ".github/workflows/sub-image-*.yml"
- "Rakefile"
- "config.test.yml"
pull_request:
paths:
- "sub-image/**"
- ".github/workflows/sub-image-*.yml"
- "Rakefile"
- "config.test.yml"
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -36,7 +42,6 @@ jobs:
cargo test
- name: Build binary
if: github.ref_name == 'main'
run: |
sudo apt-get update
sudo apt-get install -y g++-aarch64-linux-gnu
Expand Down
Loading

0 comments on commit 8745ef7

Please sign in to comment.