@@ -124,6 +124,68 @@ jobs:
124
124
- name : Execute unit tests
125
125
uses : ./.github/actions/test/unit
126
126
127
+ release-pkg :
128
+ name : Release package
129
+ runs-on : ubuntu-20.04
130
+ needs : prepare
131
+
132
+ steps :
133
+ - name : Checkout repository
134
+ uses : actions/checkout@v4
135
+
136
+ - name : Setup Node.js and install dependencies
137
+ uses : ./.github/actions/install
138
+ with :
139
+ WALLET_PASSWORD : ${{ secrets.WALLET_PASSWORD_TESTNET }}
140
+ GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
141
+
142
+ - name : Download packages-common
143
+ uses : actions/download-artifact@v4
144
+ with :
145
+ name : packages-common
146
+ path : packages/common/dist
147
+
148
+ - name : Download packages-cardano
149
+ uses : actions/download-artifact@v4
150
+ with :
151
+ name : packages-cardano
152
+ path : packages/cardano/dist
153
+
154
+ - name : Download packages-translation
155
+ uses : actions/download-artifact@v4
156
+ with :
157
+ name : packages-translation
158
+ path : packages/translation/dist
159
+
160
+ - name : Download packages-core
161
+ uses : actions/download-artifact@v4
162
+ with :
163
+ name : packages-core
164
+ path : packages/core/dist
165
+
166
+ - name : Download packages-staking
167
+ uses : actions/download-artifact@v4
168
+ with :
169
+ name : packages-staking
170
+ path : packages/staking/dist
171
+
172
+ - name : Collect Workflow Telemetry Smoke Tests
173
+ uses : catchpoint/workflow-telemetry-action@v2
174
+ with :
175
+ comment_on_pr : false
176
+
177
+ - name : Build Lace browser extension
178
+ uses : ./.github/actions/build/app
179
+ with :
180
+ DIR : apps/browser-extension-wallet
181
+ NAME : lace-browser-extension
182
+ LACE_EXTENSION_KEY : ${{ secrets.MANIFEST_PUBLIC_KEY }}
183
+ POSTHOG_PRODUCTION_TOKEN_MAINNET : ${{ startsWith(github.ref, 'refs/heads/release') && secrets.POSTHOG_PRODUCTION_TOKEN_MAINNET || '' }}
184
+ POSTHOG_PRODUCTION_TOKEN_PREPROD : ${{ startsWith(github.ref, 'refs/heads/release') && secrets.POSTHOG_PRODUCTION_TOKEN_PREPROD || '' }}
185
+ POSTHOG_PRODUCTION_TOKEN_PREVIEW : ${{ startsWith(github.ref, 'refs/heads/release') && secrets.POSTHOG_PRODUCTION_TOKEN_PREVIEW || '' }}
186
+ PRODUCTION_MODE_TRACKING : ${{ startsWith(github.ref, 'refs/heads/release') && 'true' || 'false' }}
187
+ BANXA_LACE_URL : ${{ startsWith(github.ref, 'refs/heads/release') && 'https://lacewallet.banxa.com/' }}
188
+
127
189
build :
128
190
name : Build Lace
129
191
runs-on : ubuntu-22.04
0 commit comments