diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index f2da4f8b..4bac0392 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -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: @@ -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: @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1af1dd91..b8884dd6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b982e800..1f1b0044 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: diff --git a/.github/workflows/update-storyshots.yml b/.github/workflows/update-storyshots.yml index 2a037b08..a893cd78 100644 --- a/.github/workflows/update-storyshots.yml +++ b/.github/workflows/update-storyshots.yml @@ -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: