Skip to content

refact codes

refact codes #12

Workflow file for this run

name: Build Extensions
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
timeout-minutes: 20
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
lfs: true
- name: Setup node
uses: actions/setup-node@v3
with:
node-version-file: .tool-versions
cache: yarn
- name: Install dependencies
run: yarn install
- name: Build Chrome Extension
run: yarn build chrome
- name: Build Firefox Extension
run: yarn build firefox
- name: Build Edge Extension
run: yarn build edge
- name: Build Opera Extension
run: yarn build opera
- name: Build Safari Extension
run: yarn build safari
- name: Archive packages
uses: actions/upload-artifact@v3
with:
name: packages
path: packages