Skip to content

chore: Create build_dist workflow #3

chore: Create build_dist workflow

chore: Create build_dist workflow #3

Workflow file for this run

name: Build distribuables
on:
workflow_dispatch:
pull_request:
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: '16.15.0'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Dist Chrome
run : |
cd apps/browser
npm run dist:chrome
- name: Dist Firefox
run: |
cd apps/browser
npm run dist:firefox
- name: Upload Chrome artifact to GitHub
uses: actions/upload-artifact@v3
with:
name: Chrome
path: |
apps/browser/dist/dist-chrome.zip
- name: Upload Firefox artifact to GitHub
uses: actions/upload-artifact@v3
with:
name: Firefox
path: |
apps/browser/dist/dist-firefox.zip