Skip to content

chore(deps-dev): bump ip from 2.0.0 to 2.0.1 #427

chore(deps-dev): bump ip from 2.0.0 to 2.0.1

chore(deps-dev): bump ip from 2.0.0 to 2.0.1 #427

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 19.x]
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 2
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install PNPM ${{ matrix.node-version }}
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false
- name: Get pnpm store directory ${{ matrix.node-version }}
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ matrix.node-version }}
restore-keys: |
${{ runner.os }}-pnpm-store-${{ matrix.node-version }}
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Install Codecov
run: pnpm install --global codecov
- name: Bootstrap packages
run: npm run bootstrap
- name: Run the lint
run: npm run lint
- name: Run the coverage
run: npm run cover
- name: Run the coverage
run: codecov