diff options
Diffstat (limited to '.github')
| -rwxr-xr-x | .github/build_site.sh | 3 | ||||
| -rw-r--r-- | .github/workflows/ci.yaml | 12 |
2 files changed, 8 insertions, 7 deletions
diff --git a/.github/build_site.sh b/.github/build_site.sh index a44d3d2..b4a0455 100755 --- a/.github/build_site.sh +++ b/.github/build_site.sh @@ -6,8 +6,7 @@ set -euo pipefail function build_site { pnpm install --frozen-lockfile - pnpm run lint - pnpm run check + pnpm run ci pnpm run build } diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 67ae243..386a87f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,8 +16,8 @@ jobs: include: - name: Build command: build - - name: Lint - command: lint + - name: Check + command: ci name: ${{ matrix.name }} runs-on: ubuntu-latest @@ -25,15 +25,17 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Setup pnpm - uses: pnpm/action-setup@v3 - - name: Setup node.js uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} cache: "pnpm" + - name: Install package manager + run: | + corepack enable + corepack prepare --activate + - name: Install dependencies run: | pnpm install --frozen-lockfile |
