From 8c3ba5ff3333ce48c6b0c8a9931dbe3c8abd2feb 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 | 13 ++++++++++++- .nvmrc | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 56fd388..1869155 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 run 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 diff --git a/.nvmrc b/.nvmrc index 3c03207..48ef2c1 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -18 +20.9