Merge pull request #246 from moonlight-mod/kasimir/cm-popout-fix #258
Workflow file for this run
This file contains hidden or 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@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| 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 |