Skip to content

Commit

Permalink
put into one job
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshCLim committed Jun 24, 2024
1 parent f9fa68a commit 2ca62be
Showing 1 changed file with 4 additions and 21 deletions.
25 changes: 4 additions & 21 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: checks
on: [push]

jobs:
setup:
name: Setup
check:
name: Checks
runs-on: ubuntu-latest

steps:
Expand All @@ -17,28 +17,11 @@ jobs:
- name: Install dependencies
uses: bahmutov/npm-install@v1

lint:
name: Lint
needs: [setup]
runs-on: ubuntu-latest

steps:
- name: Run ESLint
- name: Lint (ESLint)
run: npm run lint

build:
name: Build
needs: [setup]
runs-on: ubuntu-latest

steps:
- name: Build project
run: npm run build

format:
name: Format
runs-on: ubuntu-latest

steps:
- name: Run Prettier
- name: Format (Prettier)
run: npm run format:ci

0 comments on commit 2ca62be

Please sign in to comment.