Skip to content

Commit

Permalink
temporarily disable frontend type check in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkeldenker committed Feb 28, 2024
1 parent f1f8394 commit 6b9d514
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions frontend/svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ const config = {
adapter: adapter(),
csp: {
directives: {
'default-src': ["'self'"],
'script-src': ["'self'"],
'default-src': ['self'],
'script-src': ['self'],
// NOTE: Disabled in order to fetch optic sources client-side
// 'connect-src': ["'self'", 'http://localhost:3000/'],
'connect-src': ['*'],
'img-src': ["'self'", 'data:', 'stract.com', '0.0.0.0:3000', 'localhost:3000'],
'style-src': ["'self'", "'unsafe-inline'"],
'img-src': ['self', 'data:', 'stract.com', '0.0.0.0:3000', 'localhost:3000'],
'style-src': ['self', 'unsafe-inline'],
},
},
},
Expand Down
4 changes: 3 additions & 1 deletion scripts/ci/check
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ set -e

cargo check
cargo check --no-default-features
cd frontend && npm install && npm run check

# skip frontend check until https://github.com/sveltejs/kit/issues/11906 is fixed
# cd frontend && npm install && npm run check

0 comments on commit 6b9d514

Please sign in to comment.