Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
DSergiu committed Apr 11, 2024
1 parent e4af2d9 commit 8c3ba5f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20.9

0 comments on commit 8c3ba5f

Please sign in to comment.