Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
DSergiu committed Apr 22, 2024
1 parent be6c228 commit c565acb
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ jobs:

- run: pnpm run setup

- run: pnpm build
- run: pnpm --filter=@hcaptcha/vanilla-hcaptcha run build

- run: pnpm --filter=\!@hcaptcha/vanilla-hcaptcha run build

- run: pnpm typecheck

Expand Down
1 change: 1 addition & 0 deletions packages/vanilla-hcaptcha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"rollup": "^2.74.1",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-filesize": "^9.1.2",
"rollup-plugin-terser": "^7.0.2",
"tslib": "^2.6.2",
Expand Down
6 changes: 4 additions & 2 deletions packages/vanilla-hcaptcha/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { terser } from "rollup-plugin-terser";
import filesize from "rollup-plugin-filesize";
import { terser } from 'rollup-plugin-terser';
import filesize from 'rollup-plugin-filesize';
import typescript from '@rollup/plugin-typescript';
import del from 'rollup-plugin-delete';

export default {
input: './src/index.ts',
Expand All @@ -16,6 +17,7 @@ export default {
sourcemap: true
}],
plugins: [
del({ targets: 'dist/*' }),
typescript({ tsconfig: './tsconfig.json' }),
terser(),
filesize()
Expand Down
71 changes: 71 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c565acb

Please sign in to comment.