File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- name : Code check
1+ name : Code check 2
22
33on :
44 pull_request :
@@ -32,30 +32,17 @@ jobs:
3232 with :
3333 node-version : 18
3434
35- - name : Setup pnpm
36- uses : pnpm/action- setup@v2.2.4
35+ - name : Setup bun
36+ uses : oven-sh/ setup-bun@v1
3737 with :
38- version : 8.6.1
38+ bun- version : latest
3939
40- - name : Get pnpm store directory
41- id : pnpm-cache
42- run : |
43- echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
44-
45- - name : Setup pnpm cache
46- uses : actions/cache@v3
47- with :
48- path : ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
49- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
50- restore-keys : |
51- ${{ runner.os }}-pnpm-store-
52-
53- - name : Install deps (with cache)
54- run : pnpm install
40+ - name : Install deps
41+ run : bun install
5542
5643 # TODO: Linting is failing because of contentlayer types, need to fix that
5744 # - name: Run lint
58- # run: pnpm run lint
45+ # run: bun run lint
5946
6047 - name : Run typecheck
61- run : pnpm run typecheck
48+ run : bun run typecheck
You can’t perform that action at this time.
0 commit comments