Fix i18n where possible #67
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Browser extension builds | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
browser: | |
name: Browser extension builds | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 9 | |
run_install: false | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: pnpm | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Build moonlight | |
env: | |
NODE_ENV: production | |
run: pnpm run build | |
- name: Build MV3 | |
run: pnpm run browser | |
- name: Build MV2 | |
run: pnpm run browser-mv2 | |
- name: Upload MV3 | |
uses: actions/upload-artifact@v4 | |
with: | |
name: browser | |
path: ./dist/browser | |
- name: Upload MV2 | |
uses: actions/upload-artifact@v4 | |
with: | |
name: browser-mv2 | |
path: ./dist/browser-mv2 |