Skip to content

Feature/mv3

Feature/mv3 #32

Workflow file for this run

name: PR CI
on:
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-22.04
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
with:
fetch-depth: 0
#TODO: change to 1 and then get all tags seperately to see if that's faster. git fetch origin 'refs/tags/*:refs/tags/*'
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- name: Setup
run: |
npm ci
mkdir dist
- name: Build beta
run: npm run build:beta
- name: Build production
run: npm run build:prod
- name: Build Chrome beta
run: npm run build-chrome:beta
- name: Build Chrome production
run: npm run build-chrome:prod
# We have to do this type check after running the build
# because Vite creates various type definitions we need
- name: Compile Typescript
run: npm run tsc
# Disabled until MV3 rewrite
# - name: Test
# run: npm run test
- name: Lint
run: npm run lint