File tree Expand file tree Collapse file tree 2 files changed +17
-6
lines changed
Expand file tree Collapse file tree 2 files changed +17
-6
lines changed Original file line number Diff line number Diff line change 1414 # Allows you to run this workflow manually from the Actions tab
1515 workflow_dispatch :
1616
17- # A workflow run is made up of one or more jobs that can run sequentially or in parallel
18- permissions :
19- contents : read
20-
2117jobs :
2218 build :
2319 strategy :
2420 matrix :
2521 node-version : [22]
2622
2723 # The type of runner that the job will run on
28- runs-on : macos-12
24+ runs-on : macos-latest
2925
3026 steps :
3127 - uses : actions/checkout@v6
@@ -48,11 +44,26 @@ jobs:
4844 with :
4945 node-version : ${{ matrix.node-version }}
5046
47+ - name : Install macOS dependencies
48+ if : matrix.platform == 'macos-latest'
49+ run : |
50+ brew install gnu-tar coreutils
51+ echo "Homebrew dependencies installed"
52+
5153 - name : Install Dependencies
5254 run : npm ci && npm i -D cli-truncate iconv-corefoundation
5355
5456 - name : Check lint
5557 run : npm run lint
5658
59+ - name : Install Playwright Browsers
60+ run : npx playwright install --with-deps
61+
62+ - name : Run headless unit test
63+ run : npm run test
64+
65+ - name : Run headless e2e test
66+ run : npm run e2e
67+
5768 - name : Build the app
5869 run : npm run electron:build
Original file line number Diff line number Diff line change 2525 node-version : [22]
2626
2727 # The type of runner that the job will run on
28- runs-on : windows-2022
28+ runs-on : windows-latest
2929
3030 steps :
3131 - uses : actions/checkout@v6
You can’t perform that action at this time.
0 commit comments