Skip to content

Commit

Permalink
dev(workflow): update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
runjuu committed Dec 25, 2021
1 parent 616b72a commit 58670b8
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,32 +14,24 @@ jobs:
- uses: actions/checkout@v2

- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: '12.x'
node-version: 'lts/*'

- name: Install dependencies
uses: borales/actions-yarn@v2.0.0
with:
cmd: install
run: yarn install

- name: Build packages
uses: borales/actions-yarn@v2.0.0
with:
cmd: run build
run: yarn run build

- name: Lint packages
uses: borales/actions-yarn@v2.0.0
with:
cmd: run lint
run: yarn run lint

- name: Test packages
uses: borales/actions-yarn@v2.0.0
with:
cmd: run test --ci --forceExit --detectOpenHandles --coverage

run: yarn run test --ci --forceExit --detectOpenHandles --coverage

- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v1.1.2
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 58670b8

Please sign in to comment.