mirror of
https://github.com/younesaassila/ttv-lol-pro.git
synced 2025-04-29 14:04:26 +02:00
34 lines
785 B
YAML
34 lines
785 B
YAML
name: Build and Test
|
|
|
|
on:
|
|
push:
|
|
branches: ["**"]
|
|
tags-ignore: ["**"]
|
|
pull_request:
|
|
branches: ["**"]
|
|
types: [opened, synchronize, reopened, ready_for_review]
|
|
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
if: ${{ !github.event.pull_request.draft }}
|
|
concurrency: build-${{ github.ref }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Install dependencies
|
|
run: npm install
|
|
- name: Run linter
|
|
run: npm run lint
|
|
- name: Run type checker
|
|
run: npm run type-check
|
|
# - name: Run tests
|
|
# run: npm run test
|
|
- name: Build for Firefox
|
|
run: npm run build:firefox
|
|
- name: Clean up
|
|
run: npm run clean
|
|
- name: Build for Chromium
|
|
run: npm run build:chromium
|