chore(deps): bump the npm_and_yarn group across 1 directory with 4 up… #405
Workflow file for this run
This file contains hidden or 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: Unit Tests | |
| on: | |
| push: | |
| branches: | |
| - '**' # Only on branches, not on tags | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| steps: | |
| - name: Check out Git repository | |
| uses: actions/checkout@v4 | |
| - name: Install Node.js, NPM and Yarn | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: 'yarn' | |
| - name: Install dependencies (skip Cypress) | |
| run: | | |
| CYPRESS_INSTALL_BINARY=0 yarn install | |
| - name: Setup Chrome | |
| uses: browser-actions/setup-chrome@v1 | |
| - name: Run unit tests | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| CI: 'true' | |
| GITHUB_ACTIONS: 'true' | |
| ELECTRON_NO_SANDBOX: 1 | |
| ELECTRON_RUN_AS_NODE: 1 | |
| run: | | |
| xvfb-run -a yarn test |