Build distribuables #48
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |