summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorseth <[email protected]>2024-04-17 06:39:36 -0400
committerseth <[email protected]>2024-04-17 06:40:44 -0400
commitc836cda3d534de6e59ef54ef29fb615202b889cf (patch)
treec17c09b04ad24fd7414c96c3d09a70c94221df44 /.github
parent4cb5e4629406b6d262c61e5d40864a8d9a7695b7 (diff)
eslint -> biome
Diffstat (limited to '.github')
-rwxr-xr-x.github/build_site.sh3
-rw-r--r--.github/workflows/ci.yaml12
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