Skip to content

Commit

Permalink
Fix build pr (#2930)
Browse files Browse the repository at this point in the history
* update actions to v4

* add concurrency to action

* yarn --verbose

* update

* remove cache

* remove verbose

* add YARN_LOG_LEVEL

* yarn install --inline-builds

* adds --runInBand to jest

* back to origin

* back to v3

* --runInBand --forceExit --verbose

* pkill -9 electron || true && xvfb-maybe jest --runInBand --forceExit

* update jest setup

* add concurrency and tags back

* new windows end test

* remove affterall

* --maxWorkers=1

* a

* b

* update jest runner

* c

* patch jest runner
  • Loading branch information
jeanfbrito authored Aug 20, 2024
1 parent c8f5bc6 commit 2db22cc
Show file tree
Hide file tree
Showing 6 changed files with 279 additions and 22,888 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/pull-request-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ on:
- master
- develop

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true

jobs:
build:
if: contains(github.event.pull_request.labels.*.name, 'build-artifacts')
strategy:
fail-fast: false
matrix:
Expand All @@ -21,17 +26,17 @@ jobs:
run: git config --global core.autocrlf false

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node 21.7.1
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '21.7.1'

- name: Setup node_modules cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
Expand Down
Loading

0 comments on commit 2db22cc

Please sign in to comment.