Skip to content

Commit

Permalink
refactor(ci): simplify ci
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyDolle committed Feb 26, 2024
1 parent 05fbb9b commit 126b2ba
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/mobile-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- template/**/*

jobs:
install_dependencies:
lint:
name: Run eslint and prettier
runs-on: ubuntu-latest
steps:
Expand All @@ -21,22 +21,10 @@ jobs:
cache-dependency-path: template/yarn.lock
- name: Install dependencies
run: cd template && yarn install --frozen-lockfile
lint:
name: Run and verify code linting
runs-on: ubuntu-latest
needs: [install_dependencies]
steps:
- name: Run lint
run: yarn lint
shell: bash
- name: Run type check
run: yarn type-check
shell: bash
test:
name: Run and verify jest tests
runs-on: ubuntu-latest
needs: [install_dependencies, lint]
steps:
- name: Run tests
run: yarn test
shell: bash

0 comments on commit 126b2ba

Please sign in to comment.