ci: use npm

This commit is contained in:
Reinaldy Rafli 2022-09-24 07:56:33 +07:00
parent 9b57637f7e
commit 5b1fad3f0c
No known key found for this signature in database
GPG Key ID: EA1B2522C1693EC8
1 changed files with 17 additions and 18 deletions

View File

@ -2,9 +2,8 @@ name: Code Coverage
on:
push:
branches: [ "master" ]
branches: ["master"]
pull_request:
branches: [ "master" ]
jobs:
coverage:
@ -22,13 +21,13 @@ jobs:
node-version: 14
- name: Installing dependencies
run: yarn install
run: npm install
- name: Lint
run: yarn run lint
run: npm run lint
- name: Running test
run: yarn run test
run: npm run test
- name: Upload to Codecov
uses: codecov/codecov-action@v1