Skip to content

Commit 42b3200

Browse files
committed
ci: update CI workflow with simplified build steps
1 parent 8975473 commit 42b3200

File tree

1 file changed

+11
-20
lines changed

1 file changed

+11
-20
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- main
1010

1111
jobs:
12-
lint:
12+
ci:
1313
runs-on: ubuntu-latest
1414

1515
steps:
@@ -19,27 +19,18 @@ jobs:
1919
with:
2020
node-version: 20
2121

22-
- name: Install dependencies
23-
run: npx nypm@latest i
22+
- name: 📦 Install dependencies
23+
run: pnpm install --frozen-lockfile
2424

25-
- name: Lint
26-
run: npm run lint
25+
- name: 🚧 Set up project
26+
run: pnpm dev:prepare
2727

28-
test:
29-
runs-on: ubuntu-latest
30-
31-
steps:
32-
- uses: actions/checkout@v4
33-
- run: corepack enable
34-
- uses: actions/setup-node@v4
35-
with:
36-
node-version: 20
28+
- name: 🛠 Build project
29+
run: pnpm prepack
3730

38-
- name: Install dependencies
39-
run: npx nypm@latest i
31+
- name: 🛝 Build playground
32+
run: pnpm dev:build
4033

41-
- name: Playground prepare
42-
run: npm run dev:prepare
34+
- name: 👀 Lint project
35+
run: pnpm lint
4336

44-
- name: Test
45-
run: npm run test

0 commit comments

Comments
 (0)