Update Font Awesome #208
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Node | |
defaults: | |
run: | |
shell: bash | |
working-directory: ui | |
on: | |
push: | |
branches: [ "main" ] | |
paths: ['ui/**'] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: nanasess/setup-chromedriver@v2 | |
with: | |
# Optional: do not specify to match Chrome's version | |
chromedriver-version: '88.0.4324.96' | |
- run: | | |
export DISPLAY=:99 | |
chromedriver --url-base=/wd/hub & | |
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & # optional | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Download dependencies | |
run: npm ci | |
- name: Build | |
run: npm run build --if-present | |
# The tests seem to hang when run on the action. TODO - re-enable when they are working. | |
# - name: Running Test | |
# run: npm test --no-watch --source-map=false |