Skip to content

Commit

Permalink
Dogfooding in workflows (#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
paescuj committed Aug 10, 2022
1 parent f2ea327 commit e49b24d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 20 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/lint-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,7 @@ jobs:
uses: ./.github/actions/setup-npm-cache

- name: Install dependencies
run: npm ci
run: npm ci && npm install --global concurrently

- name: Lint
run: npm run lint

- name: Format
run: npm run format
- name: Lint & Format
run: concurrently --prefix none --group "npm:lint" "npm:format"
17 changes: 3 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,22 +57,11 @@ jobs:
- name: Setup NPM cache
uses: ./.github/actions/setup-npm-cache

- name: Print versions
run: |
node --version
npm --version
- name: Install dependencies
run: npm ci

- name: Build
run: npm run build
run: npm ci && npm install --global concurrently

- name: Test
run: npm test
shell: bash
env:
SHELL: '/bin/bash'
- name: Build & Test
run: concurrently --prefix none --group "npm:build" "npm:test"

- name: Submit coverage
uses: coverallsapp/github-action@master
Expand Down

0 comments on commit e49b24d

Please sign in to comment.