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 464c250
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .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 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

0 comments on commit 464c250

Please sign in to comment.