Skip to content

Change packageManager version #138

Change packageManager version

Change packageManager version #138

Workflow file for this run

name: CI
on: [push]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Cache npm
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-
- name: Install packages
run: yarn
- name: Run lint
run: npm run lint
- name: Run tests
run: npm run test:cov
env:
CI: "true"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3