Skip to content

Commit

Permalink
Retry workflow with separate jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
mxie committed Feb 19, 2024
1 parent ff57c68 commit 58f7af0
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ on:
pull_request:

jobs:
checkout-app:
name: Lint and test
defaults:
runs-on: ubuntu-latest
install-dependencies:
steps:
- uses: actions/checkout@v4
- name: Set up Node
Expand All @@ -18,7 +18,18 @@ jobs:
node-version: 18
cache: yarn
- run: yarn install
run-linter:
needs: install-dependencies
steps:
- uses: actions/checkout@v4
- run: yarn lint
run-linter:
needs: install-dependencies
steps:
- uses: actions/checkout@v4
- run: yarn prettier --check
run-linter:
needs: install-dependencies
steps:
- uses: actions/checkout@v4
- run: yarn test
if: ${{ always() }}

0 comments on commit 58f7af0

Please sign in to comment.