Skip to content

chore(ci): update workflows #4

chore(ci): update workflows

chore(ci): update workflows #4

Workflow file for this run

name: PR Checks
on:
pull_request:
types:
- opened
- reopened
- synchronize
# TODO(@raducristianpopa): add lint/format checks and tests
jobs:
build:
name: Build
strategy:
fail-fast: false
matrix:
browser: [chrome, firefox, opera, edge]
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- name: Install dependencies
run: rm -rf node_modules && yarn install --frozen-lockfile
- name: Build
run: yarn build:${{ matrix.browser }}
- name: Upload artifacts
uses: actions/[email protected]
with:
name: ${{ github.event.pull_request.number }}-${{ matrix.browser }}
path: dist/${{ matrix.browser }}/${{ matrix.browser }}.zip
if-no-files-found: error