Skip to content

Commit

Permalink
Split up jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
rebecca-lindsey committed Jul 14, 2023
1 parent c6c6c9f commit e0bfff2
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main

jobs:
setup:
lint:
runs-on: ubuntu-latest

steps:
Expand All @@ -22,21 +22,19 @@ jobs:
with:
node-version: "16.x"
- run: npm install
- run: npm test
- run: npm run lint

# test:
# runs-on: ubuntu-latest

# needs: setup

# steps:
# - run: npm test

# lint:
# runs-on: ubuntu-latest

# needs: setup
test:
runs-on: ubuntu-latest

# steps:
# - run: npm run lint
steps:
- name: "Checkout repository"
uses: actions/checkout@v3
with:
persist-credentials: false
- name: "Use Node.js"
uses: actions/setup-node@v3
with:
node-version: "16.x"
- run: npm install
- run: npm test

0 comments on commit e0bfff2

Please sign in to comment.