Skip to content

Commit 0da8508

Browse files
committed
Introduce pnpm and workspaces
Signed-off-by: Oleksandr Dubenko <[email protected]>
1 parent dd03f04 commit 0da8508

File tree

657 files changed

+89805
-417773
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

657 files changed

+89805
-417773
lines changed

Diff for: .github/workflows/app.yml

+64-48
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@ name: Build App
33
on:
44
pull_request:
55
paths:
6-
- 'frontend/**'
7-
- 'Makefile'
8-
- '.github/**'
9-
- 'app/**'
10-
- 'backend/**'
6+
- "frontend/**"
7+
- "Makefile"
8+
- ".github/**"
9+
- "app/**"
10+
- "backend/**"
1111
push:
1212
branches:
1313
- main
1414
- rc-*
1515
- testing-rc-*
1616
paths:
17-
- 'frontend/**'
18-
- Makefile
19-
- '.github/**'
20-
- 'app/**'
21-
- 'backend/**'
17+
- "frontend/**"
18+
- Makefile
19+
- ".github/**"
20+
- "app/**"
21+
- "backend/**"
2222

2323
permissions:
2424
contents: read
@@ -30,53 +30,69 @@ jobs:
3030
matrix:
3131
node-version: [20.x]
3232
steps:
33-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
34-
- name: Use Node.js ${{ matrix.node-version }}
35-
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
36-
with:
37-
node-version: ${{ matrix.node-version }}
38-
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
39-
with:
40-
go-version: '1.24.*'
41-
- name: App linux
42-
run: |
43-
make app-linux
33+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
34+
- name: Install pnpm
35+
uses: pnpm/action-setup@v4
36+
with:
37+
version: 9
38+
- name: Use Node.js ${{ matrix.node-version }}
39+
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
40+
with:
41+
node-version: ${{ matrix.node-version }}
42+
cache: "pnpm"
43+
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
44+
with:
45+
go-version: "1.24.*"
46+
- name: App linux
47+
run: |
48+
pnpm i
49+
pnpm app:build
50+
pnpm app:package-linux
4451
build-windows:
4552
runs-on: windows-2019
4653
strategy:
4754
matrix:
4855
node-version: [20.x]
4956
steps:
50-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
51-
- name: Use Node.js ${{ matrix.node-version }}
52-
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
53-
with:
54-
node-version: ${{ matrix.node-version }}
55-
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
56-
with:
57-
go-version: '1.24.*'
58-
- name: Dependencies
59-
uses: crazy-max/ghaction-chocolatey@e80bd39bb49cae70b67ea53d52d00833a7255c21 # v1.7.0
60-
with:
61-
args: install make
62-
- name: App Windows
63-
run: make app-win
57+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
58+
- name: Install pnpm
59+
uses: pnpm/action-setup@v4
60+
with:
61+
version: 9
62+
- name: Use Node.js ${{ matrix.node-version }}
63+
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
64+
with:
65+
node-version: ${{ matrix.node-version }}
66+
cache: "pnpm"
67+
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
68+
with:
69+
go-version: "1.24.*"
70+
- name: App Windows
71+
run: |
72+
pnpm i
73+
pnpm app:build
74+
pnpm app:package-win
6475
build-mac:
6576
runs-on: macos-latest
6677
strategy:
6778
matrix:
6879
node-version: [20.x]
6980
steps:
70-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
71-
- name: Use Node.js ${{ matrix.node-version }}
72-
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
73-
with:
74-
node-version: ${{ matrix.node-version }}
75-
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
76-
with:
77-
go-version: '1.24.*'
78-
- name: Dependencies
79-
run: brew install make
80-
- name: App Mac
81-
run: |
82-
make app-mac
81+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
82+
- name: Install pnpm
83+
uses: pnpm/action-setup@v4
84+
with:
85+
version: 9
86+
- name: Use Node.js ${{ matrix.node-version }}
87+
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
88+
with:
89+
node-version: ${{ matrix.node-version }}
90+
cache: "pnpm"
91+
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
92+
with:
93+
go-version: "1.24.*"
94+
- name: App Mac
95+
run: |
96+
pnpm i
97+
pnpm app:build
98+
pnpm app:package-mac

0 commit comments

Comments
 (0)