Skip to content

Commit

Permalink
chore(build): lets make test install playwright
Browse files Browse the repository at this point in the history
Also adds a note in the readme about it
  • Loading branch information
dmihalcik-virtru committed Dec 3, 2024
1 parent ab40664 commit 14541fc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ dist: lib/opentdf-sdk-$(version).tgz
audit:
for x in $(pkgs); do (cd $$x && npm audit --omit dev) || exit 1; done

format license-check lint test: ci
format license-check lint: ci
for x in $(pkgs); do (cd $$x && npm run $@) || exit 1; done

test: ci
cd web-app && npx install playwright
for x in $(pkgs); do (cd $$x && npm run $@) || exit 1; done

doc:
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ make test
make start
```

Note: `make test` will install playwright and any necessary browser components,
which may be several hundred megabytes in size.

## Use the platform

Version 2 of this library adds support for ABAC management tasks.
Expand Down

0 comments on commit 14541fc

Please sign in to comment.