@@ -5,15 +5,15 @@ defaults: &defaults
55
66unix_box : &unix_box
77 docker :
8- - image : cimg/node:18.18 -browsers
8+ - image : cimg/node:22.16 -browsers
99
1010unix_nightly_box : &unix_nightly_box
1111 docker :
1212 - image : cimg/node:lts-browsers
1313
1414orbs :
1515 puppeteer : threetreeslight/puppeteer@0.1.2
16- browser-tools : circleci/browser-tools@1.4.8
16+ browser-tools : circleci/browser-tools@1.5.1
1717
1818set_npm_auth : &set_npm_auth
1919 run : npm config set "//registry.npmjs.org/:_authToken" $NPM_AUTH
@@ -61,13 +61,14 @@ jobs:
6161 paths :
6262 - node_modules
6363
64- # Build and cache axe.js
64+ # Build and cache built files
6565 build_unix :
6666 << : *defaults
6767 << : *unix_box
6868 steps :
6969 - checkout
7070 - << : *restore_dependency_cache_unix
71+ - run : npm run prepare
7172 - run : npm run build
7273 - save_cache :
7374 key : v9-cache-build-<< pipeline.git.revision >>
@@ -183,8 +184,9 @@ jobs:
183184 - run :
184185 name : Install Firefox Nightly
185186 command : |
186- wget -O firefox-nightly.tar.bz2 "https://download.mozilla.org/?product=firefox-nightly-latest-ssl&os=linux64&lang=en-US"
187- tar xf firefox-nightly.tar.bz2
187+ # Assumes Firefox >= 135; in earlier versions, this resolves to a .tar.bz2 instead
188+ wget -O firefox-nightly.tar.xz "https://download.mozilla.org/?product=firefox-nightly-latest-ssl&os=linux64&lang=en-US"
189+ tar xf firefox-nightly.tar.xz
188190 - run :
189191 name : Set Environment Variable
190192 command : echo "export FIREFOX_NIGHTLY_BIN=$(pwd)/firefox/firefox-bin" >> $BASH_ENV
0 commit comments