Skip to content

Commit

Permalink
fix(ci): copy default config before building
Browse files Browse the repository at this point in the history
  • Loading branch information
zyoshoka committed Feb 8, 2025
1 parent 39b4490 commit e5fab49
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dockle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
curl -L -o dockle.deb "https://github.com/goodwithtech/dockle/releases/download/v${DOCKLE_VERSION}/dockle_${DOCKLE_VERSION}_Linux-64bit.deb"
sudo dpkg -i dockle.deb
- run: |
cp .config/example.yml .config/default.yml
cp .config/docker_example.env .config/docker.env
cp ./compose_example.yml ./compose.yml
- run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ jobs:
- run: pnpm i --frozen-lockfile
- name: Check pnpm-lock.yaml
run: git diff --exit-code pnpm-lock.yaml
- name: Copy Configure
run: cp .config/example.yml .config/default.yml
- name: Build misskey-js
run: pnpm --filter misskey-js build
- name: Build storybook
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/test-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ jobs:
- name: Check pnpm-lock.yaml
run: git diff --exit-code pnpm-lock.yaml
- name: Copy Configure
run: cp .github/misskey/test.yml .config
run: |
cp .github/misskey/test.yml .config
cp .config/example.yml .config/default.yml
- name: Build
run: pnpm build
- name: Test
Expand Down Expand Up @@ -123,7 +125,9 @@ jobs:
- name: Check pnpm-lock.yaml
run: git diff --exit-code pnpm-lock.yaml
- name: Copy Configure
run: cp .github/misskey/test.yml .config
run: |
cp .github/misskey/test.yml .config
cp .config/example.yml .config/default.yml
- name: Build
run: pnpm build
- name: Test
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-federation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
run: |
corepack enable && corepack prepare
pnpm i --frozen-lockfile
cp .config/example.yml .config/default.yml
pnpm build
- name: Setup
run: |
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/test-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ jobs:
- name: Check pnpm-lock.yaml
run: git diff --exit-code pnpm-lock.yaml
- name: Copy Configure
run: cp .github/misskey/test.yml .config
run: |
cp .github/misskey/test.yml .config
cp .config/example.yml .config/default.yml
- name: Build
run: pnpm build
- name: Test
Expand Down Expand Up @@ -105,7 +107,9 @@ jobs:
- run: corepack enable
- run: pnpm i --frozen-lockfile
- name: Copy Configure
run: cp .github/misskey/test.yml .config
run: |
cp .github/misskey/test.yml .config
cp .config/example.yml .config/default.yml
- name: Build
run: pnpm build
# https://github.com/cypress-io/cypress/issues/4351#issuecomment-559489091
Expand Down

0 comments on commit e5fab49

Please sign in to comment.