Replace npm to yarn in ci config

This commit is contained in:
Stanislav Romanov 2022-08-28 14:12:24 +03:00
parent a1c4e2f5b0
commit e38ee24031

View file

@ -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