Skip to content

migrate from yarn to pnpm #36

migrate from yarn to pnpm

migrate from yarn to pnpm #36

Workflow file for this run

name: Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Type check
run: pnpm type-check
- name: Run tests
run: pnpm test
env:
GITHUB_INTROSPECTION_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_E2E_TESTS_TOKEN: ${{ secrets.GITHUB_TOKEN }}