Skip to content

Commit

Permalink
Add lint job
Browse files Browse the repository at this point in the history
  • Loading branch information
zeppelin committed Jul 26, 2023
1 parent 586eaf5 commit 48f370a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,29 @@ env:
PNPM_VERSION: 8.3.1

jobs:
lint:
name: Lint
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: pnpm/[email protected]
with:
version: ${{ env.PNPM_VERSION }}
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: pnpm
- name: Install Dependencies
run: pnpm install
- name: Run lint
run: pnpm lint

tests_e2e:
name: Run end-to-end tests
runs-on: ubuntu-latest
needs: [lint]

steps:
- uses: actions/checkout@v3
Expand All @@ -30,6 +50,7 @@ jobs:
tests_unit:
name: Run unit tests
runs-on: ubuntu-latest
needs: [lint]

steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 48f370a

Please sign in to comment.