Skip to content

Commit

Permalink
ci: add website check
Browse files Browse the repository at this point in the history
  • Loading branch information
dangreen committed Nov 8, 2022
1 parent 6e6bec8 commit 2dc8a40
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 5 deletions.
27 changes: 25 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7.5.0
version: 7
- name: Install Node.js
uses: actions/setup-node@v3
with:
Expand All @@ -32,7 +32,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7.5.0
version: 7
- name: Install Node.js
uses: actions/setup-node@v3
with:
Expand All @@ -50,3 +50,26 @@ jobs:
uses: actions/checkout@v3
- name: Check editorconfig
uses: editorconfig-checker/action-editorconfig-checker@v1
website:
runs-on: ubuntu-latest
name: website
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Install website dependencies
run: pnpm install
working-directory: ./website
- name: Check website
run: pnpm build
working-directory: ./website
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7.5.0
version: 7
- name: Install Node.js
uses: actions/setup-node@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7.5.0
version: 7
- name: Install Node.js
uses: actions/setup-node@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-storyshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7.5.0
version: 7
- name: Install Node.js
uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit 2dc8a40

Please sign in to comment.