Skip to content

Commit

Permalink
Proxy urls in css (#261)
Browse files Browse the repository at this point in the history
* Proxy image url in css

* Support more css properties

* Update properties

* Add jest tests to CI

* Use correct node

* Proxy url in inline styles
  • Loading branch information
harryzcy authored May 3, 2023
1 parent 2cc5e2a commit 8ae470c
Show file tree
Hide file tree
Showing 6 changed files with 6,003 additions and 1,882 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,25 @@ jobs:
uses: harryzcy/github-actions/.github/workflows/go.yml@main
with:
working-directory: bff

jest-test:
name: Jest Tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: '18'

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm test

docker:
name: Docker Build
Expand Down
3 changes: 3 additions & 0 deletions web/jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default {
preset: 'ts-jest'
}
Loading

0 comments on commit 8ae470c

Please sign in to comment.