Skip to content

chore: use pnpm@9 & use node >= 22 & update actions #139

chore: use pnpm@9 & use node >= 22 & update actions

chore: use pnpm@9 & use node >= 22 & update actions #139

Workflow file for this run

name: ci
on:
push:
pull_request:
branches:
- main
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- uses: pnpm/[email protected]
with:
version: 9.15.3
- uses: actions/cache@v4
id: pnpm-cache
with:
path: |
**/node_modules
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- if: steps.pnpm-cache.outputs.cache-hit != 'true'
run: pnpm install
- run: pnpm run lint
- run: pnpm run build
- run: pnpm run test
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./packages/text-vide/coverage
fail_ci_if_error: true
verbose: true