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

Commit

Permalink
Merge pull request #23 from claustra01/hotfix/ci-build
Browse files Browse the repository at this point in the history
hotfix/ci-build
  • Loading branch information
K-Kizuku authored Aug 10, 2024
2 parents babc1be + d42bf68 commit 2670b43
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 13 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,37 @@ jobs:

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
with:
version: 9
- run: |
npm install
npm run check:ci
pnpm install
pnpm check:ci
spell:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
with:
version: 9
- run: |
npm install
npm run spell
pnpm install
pnpm spell
build:
needs: [check, spell]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
with:
version: 9
- run: |
npm install
npm run build
pnpm install
pnpm build
8 changes: 6 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@ jobs:

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
with:
version: 9
- run: |
npm install
npm run build
pnpm install
pnpm build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
Expand Down
17 changes: 12 additions & 5 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,13 @@ jobs:

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
with:
version: 9
- run: |
npm install
npm run build
pnpm install
pnpm build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
Expand Down Expand Up @@ -101,9 +105,12 @@ jobs:
uses: actions/checkout@v4

- name: Install and Build
run: |
npm install
npm run build
uses: pnpm/action-setup@v4
with:
version: 9
- run: |
pnpm install
pnpm build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down

0 comments on commit 2670b43

Please sign in to comment.