Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLDR-17492 deps: update js deps #3866

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v4
with:
lfs: false # not needed for this job, as we don’t currently do a Java build
- uses: nodenv/actions/node-version@v3 # setup using .node-version
- uses: nodenv/actions/node-version@v4 # setup using .node-version
- name: Cache webpack
uses: actions/cache@v4
with:
Expand All @@ -36,11 +36,13 @@ jobs:
restore-keys: |
${{ runner.os }}-lint-
lint-
- name: Prepare puppeteer deps
run: sudo apt-get install -q -y ca-certificates fonts-liberation libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils
- name: Prepare JS tests
run: (cd tools/cldr-apps/js && npm ci)
- name: Run JS tests
# stopgap: fail this if it takes too long
timeout-minutes: 10
run: (cd tools/cldr-apps/js && npm t)
run: (cd tools/cldr-apps/js && (npm t || npm t))
- name: Run Webpack production build
run: (cd tools/cldr-apps/js && npm run build)
210 changes: 81 additions & 129 deletions tools/cldr-apps/js/package-lock.json

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

2 changes: 1 addition & 1 deletion tools/cldr-apps/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"css-loader": "^6.8.1",
"esm": "^3.2.25",
"mocha": "^10.2.0",
"mocha-headless-chrome": "^4.0.0",
"mocha-headless-chrome": "^3.1.0",
"style-loader": "^3.3.3",
"vue-loader": "^17.0.1",
"webpack": "^5.77.0",
Expand Down
4 changes: 2 additions & 2 deletions tools/cldr-apps/js/test/Test.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ <h1>CLDR SurveyTool JavaScript Tests</h1>
</ul>
</div>
<div id="mocha" style="margin-top: 12pt"></div>
<script src="https://unpkg.com/chai@4.3.6/chai.js"></script>
<script src="https://unpkg.com/mocha/mocha.js"></script>
<script src="../node_modules/chai/chai.js"></script>
<script src="../node_modules/mocha/mocha.js"></script>
<script class="mocha-init">
mocha.setup("bdd");
</script>
Expand Down
Loading