mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-26 17:45:34 +01:00
Migrate scripts to ESM and ts-check
This commit is contained in:
@@ -134,9 +134,9 @@ jobs:
|
||||
- name: Upload installer size
|
||||
if: ${{ github.repository == 'signalapp/Signal-Desktop-Private' && github.ref == 'refs/heads/main' }}
|
||||
run: |
|
||||
./node_modules/.bin/tsx ts/scripts/publish-installer-size.node.ts macos-arm64
|
||||
./node_modules/.bin/tsx ts/scripts/publish-installer-size.node.ts macos-x64
|
||||
./node_modules/.bin/tsx ts/scripts/publish-installer-size.node.ts macos-universal
|
||||
node scripts/publish-installer-size.mjs macos-arm64
|
||||
node scripts/publish-installer-size.mjs macos-x64
|
||||
node scripts/publish-installer-size.mjs macos-universal
|
||||
- run: pnpm run test-release
|
||||
env:
|
||||
NODE_ENV: production
|
||||
@@ -216,7 +216,7 @@ jobs:
|
||||
|
||||
- name: Upload installer size
|
||||
if: ${{ github.repository == 'signalapp/Signal-Desktop-Private' && github.ref == 'refs/heads/main' }}
|
||||
run: ./node_modules/.bin/tsx ts/scripts/publish-installer-size.node.ts linux
|
||||
run: node scripts/publish-installer-size.mjs linux
|
||||
|
||||
- run: xvfb-run --auto-servernum pnpm run test-node
|
||||
|
||||
@@ -294,7 +294,7 @@ jobs:
|
||||
|
||||
- name: Upload installer size
|
||||
if: ${{ github.repository == 'signalapp/Signal-Desktop-Private' && github.ref == 'refs/heads/main' }}
|
||||
run: ./node_modules/.bin/tsx ts/scripts/publish-installer-size.node.ts windows
|
||||
run: node scripts/publish-installer-size.mjs windows
|
||||
|
||||
- run: pnpm run test-electron
|
||||
env:
|
||||
@@ -483,4 +483,4 @@ jobs:
|
||||
- run: pnpm generate:phase-0
|
||||
- name: Run OS version check
|
||||
run: |
|
||||
./node_modules/.bin/tsx ts/scripts/check-min-os-version.node.ts
|
||||
node scripts/check-min-os-version.mjs
|
||||
|
||||
@@ -51,7 +51,7 @@ jobs:
|
||||
env:
|
||||
ARTIFACTS_DIR: stories
|
||||
- run: pnpm run build:rolldown
|
||||
- run: ./node_modules/.bin/tsx ts/scripts/compile-stories-icu-lookup.node.ts stories
|
||||
- run: node scripts/compile-stories-icu-lookup.mjs stories
|
||||
|
||||
- name: Upload test artifacts
|
||||
if: github.event_name == 'workflow_dispatch'
|
||||
|
||||
Reference in New Issue
Block a user