From 1c5105452ab1786f335a1897ac95e51f5c0c5473 Mon Sep 17 00:00:00 2001 From: Misha Kaletsky <15040698+mmkal@users.noreply.github.com> Date: Mon, 6 Nov 2023 15:50:21 -0500 Subject: [PATCH] try using `corepack enable` instead of manually installing pnpm (#46) Co-authored-by: Misha Kaletsky --- .github/workflows/ci.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c72fe37..3aa1f40 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,16 +1,13 @@ name: CI on: - push: - branches: [main] - pull_request: - branches: [main] + push: {} jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - run: npm install --global pnpm@8.10.2 + - run: corepack enable - run: pnpm install - run: pnpm run build - run: pnpm run lint