Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Commit

Permalink
Split workflow into separate steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Lynch committed Sep 30, 2021
1 parent 5b682af commit 4fea964
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,25 @@ on:
- 'gh-pages'
- '[0-9]+.[0-9]+'
jobs:
build:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: guardian/actions-setup-node@v2.4.1
with:
cache: 'yarn'
- name: build
run: |
yarn install --frozen-lockfile
yarn validate:ci
yarn build:ci
- run: yarn install --frozen-lockfile
- run: yarn validate:ci
- name: Report coverage
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: guardian/actions-setup-node@v2.4.1
with:
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn build:ci

0 comments on commit 4fea964

Please sign in to comment.