forked from bitwarden/clients
-
Notifications
You must be signed in to change notification settings - Fork 5
52 lines (41 loc) · 1.01 KB
/
build_dist.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Build distribuables
on:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
quality_checks:
name: Build distribuables
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '20.15.1'
cache: 'npm'
- name: Install build dependencies
run : |
npm install -g node-pre-gyp jest
- name: Install dependencies
run: npm ci --legacy-peer-deps
- name: Dist Chrome
run : |
cd apps/browser
npm run dist:chrome:mv3
- name: Dist Firefox
run: |
cd apps/browser
npm run dist:firefox
- name: Dist Sources
run: |
cd apps/browser
npm run dist:sources
- name: Upload Cozy Pass packages to GitHub
uses: actions/upload-artifact@v4
with:
name: Cozy Pass Packages
path: |
apps/browser/dist/