mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
chore: switch to pnpm
This commit is contained in:
1 parent
f8b8464c4a
commit
61d34aef7a
11 files changed
+38
-46050
No files matched your search
@@ -62,13 +62,13 @@ jobs:
|
||||
flatpak install --user -y flathub org.freedesktop.Platform//24.08 org.freedesktop.Sdk//24.08
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --no-frozen-lockfile
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Build frontend
|
||||
run: npx nx build web --skip-nx-cache
|
||||
run: pnpm nx build web --skip-nx-cache
|
||||
|
||||
- name: Build backend
|
||||
run: npm run build:backend
|
||||
run: pnpm run build:backend
|
||||
|
||||
- name: Override macOS arch in electron-builder.json
|
||||
if: matrix.os == 'macos'
|
||||
@@ -82,7 +82,7 @@ jobs:
|
||||
"
|
||||
|
||||
- name: Make Electron app
|
||||
run: npm run make:app
|
||||
run: pnpm run make:app
|
||||
|
||||
- name: Upload artifacts (macOS)
|
||||
if: matrix.os == 'macos'
|
||||
|
||||
@@ -38,10 +38,10 @@ jobs:
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --no-frozen-lockfile
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Build website
|
||||
run: npx nx build website
|
||||
run: pnpm nx build website
|
||||
|
||||
- name: Upload Pages artifact
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
|
||||
@@ -34,23 +34,23 @@ jobs:
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Install Dependencies
|
||||
run: pnpm install --no-frozen-lockfile
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Build Backend
|
||||
run: npx nx build electron-backend
|
||||
run: pnpm nx build electron-backend
|
||||
|
||||
- name: Install Playwright Browsers
|
||||
run: npx playwright install --with-deps
|
||||
run: pnpm exec playwright install --with-deps
|
||||
|
||||
- name: Run E2E Tests (Linux)
|
||||
if: runner.os == 'Linux'
|
||||
run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" npx nx run electron-backend-e2e:e2e
|
||||
run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" pnpm nx run electron-backend-e2e:e2e
|
||||
env:
|
||||
CI: true
|
||||
|
||||
- name: Run E2E Tests (Windows/Mac)
|
||||
if: runner.os != 'Linux'
|
||||
run: npx nx run electron-backend-e2e:e2e
|
||||
run: pnpm nx run electron-backend-e2e:e2e
|
||||
env:
|
||||
CI: true
|
||||
|
||||
|
||||
Reference in new issue
Block a user