From 464c250d5090d86e10b9d09b5d75df879ce2776d Mon Sep 17 00:00:00 2001 From: Sergiu Danalachi Date: Thu, 11 Apr 2024 15:37:34 +0300 Subject: [PATCH] fix: ci --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 56fd388..58be2e1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,14 +14,25 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + + - uses: pnpm/action-setup@v3 + with: + version: 8.x + run_install: false + - uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' cache: 'pnpm' + - run: pnpm setup + - run: pnpm build + - run: pnpm test + - run: cp README.md packages/vanilla-hcaptcha + - name: 'Publish' if: contains('refs/heads/master', github.ref) run: pnpm --filter=@hcaptcha/vanilla-hcaptcha publish