Replace npm to yarn in ci config
This commit is contained in:
parent
a1c4e2f5b0
commit
e38ee24031
1 changed files with 6 additions and 6 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
|
@ -23,11 +23,11 @@ jobs:
|
|||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 14.x
|
||||
cache: npm
|
||||
cache: yarn
|
||||
- name: Install Dependencies
|
||||
run: npm ci
|
||||
run: yarn install --frozen-lockfile
|
||||
- name: Lint
|
||||
run: npm run lint
|
||||
run: yarn lint
|
||||
|
||||
test:
|
||||
name: "Test"
|
||||
|
|
@ -40,8 +40,8 @@ jobs:
|
|||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 14.x
|
||||
cache: npm
|
||||
cache: yarn
|
||||
- name: Install Dependencies
|
||||
run: npm ci
|
||||
run: yarn install --frozen-lockfile
|
||||
- name: Run Tests
|
||||
run: npm test
|
||||
run: yarn test
|
||||
|
|
|
|||
Loading…
Reference in a new issue