Skip to content

Commit

Permalink
ci: simplify ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pajecawav committed Jun 21, 2024
1 parent 8ff43e2 commit 6225a0a
Showing 1 changed file with 4 additions and 23 deletions.
27 changes: 4 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build
name: CI

on:
pull_request:
Expand All @@ -7,15 +7,15 @@ on:
branches: [master]

jobs:
Lint:
ci:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v2
with:
version: 8
version: 9

- name: Setup Node
uses: actions/setup-node@v4
Expand All @@ -38,24 +38,5 @@ jobs:
- name: Lint
run: pnpm lint

Build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v2
with:
version: 8

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build project
- name: Build
run: pnpm build

0 comments on commit 6225a0a

Please sign in to comment.