Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ZumZoom committed Dec 21, 2023
1 parent 1f11c11 commit ebd1a17
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 30 deletions.
25 changes: 0 additions & 25 deletions .github/actions/setup/action.yml

This file was deleted.

20 changes: 15 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,32 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'yarn'
- run: yarn
- run: yarn lint

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'yarn'
- run: yarn
- run: yarn test:ci

coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'yarn'
- run: yarn
- run: yarn coverage
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit ebd1a17

Please sign in to comment.