Skip to content

Commit

Permalink
Updates ci
Browse files Browse the repository at this point in the history
  • Loading branch information
didley committed Jul 30, 2023
1 parent 9d4c74c commit 94ef6f6
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/pr.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: On Push CI
on: push

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

strategy:
Expand All @@ -13,30 +13,20 @@ jobs:
steps:
- name: Checkout project
uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: yarn install

lint:
if: ${{ always() }}
needs: setup
steps:
- name: Run linter
run: yarn run lint

build:
if: ${{ always() }}
needs: setup
steps:
- name: Run build
run: yarn run build

test:
if: ${{ always() }}
needs: setup
steps:
- name: Run tests
run: yarn run test

0 comments on commit 94ef6f6

Please sign in to comment.