build(deps-dev): bump mocha and @types/mocha #8
Workflow file for this run
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: Main CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | |
cancel-in-progress: true | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
env: | |
TEST_RESOURCES: test-resources | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Setup NodeJS 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: npm | |
- name: npm-ci | |
run: npm ci | |
- name: npm-compile | |
run: npm run compile | |
- name: UI test | |
run: xvfb-run --auto-servernum npm run ui-test | |
- name: Store UI test log | |
uses: actions/upload-artifact@v4 | |
if: failure() || cancelled() | |
with: | |
name: uitest-logs | |
path: test-resources/settings/logs/* | |
- name: Store UI Test screenshots | |
uses: actions/upload-artifact@v4 | |
if: failure() || cancelled() | |
with: | |
name: uitest-screenshots | |
path: test-resources/screenshots/*.png |