Skip to content

Commit

Permalink
ci: Improve if syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed Jul 20, 2021
1 parent 14b6f3e commit 34cd383
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ jobs:
- run: npm ci

- name: Run prettier
if: startsWith(matrix.os, 'ubuntu-18.04')
if: ${{ startsWith(matrix.os, 'ubuntu-18.04') }}
run: npm run format:check

- name: Run eslint
if: startsWith(matrix.os, 'ubuntu-18.04')
if: ${{ startsWith(matrix.os, 'ubuntu-18.04') }}
run: npm run lint

- name: Run ncc
if: startsWith(matrix.os, 'ubuntu-18.04')
if: ${{ startsWith(matrix.os, 'ubuntu-18.04') }}
run: npm run build

- run: npm test
Expand Down

0 comments on commit 34cd383

Please sign in to comment.