mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-03-11 17:45:30 +00:00
added arm64 testbuilds
This commit is contained in:
parent
a209021d5e
commit
94b9d8e20e
2 changed files with 19 additions and 3 deletions
19
.github/workflows/test.yml
vendored
19
.github/workflows/test.yml
vendored
|
|
@ -51,7 +51,22 @@ jobs:
|
|||
check-latest: true
|
||||
- run: pnpm i
|
||||
- run: pnpm run prettier
|
||||
build-test:
|
||||
build-test-arm64:
|
||||
needs: [eslint, prettier, tsc]
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: latest
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 22
|
||||
check-latest: true
|
||||
- run: pnpm i
|
||||
- run: pnpm run test-arm64
|
||||
build-test-x64:
|
||||
needs: [eslint, prettier, tsc]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
@ -65,4 +80,4 @@ jobs:
|
|||
node-version: 22
|
||||
check-latest: true
|
||||
- run: pnpm i
|
||||
- run: pnpm run test
|
||||
- run: pnpm run test-x64
|
||||
|
|
|
|||
|
|
@ -118,6 +118,7 @@
|
|||
"prettier": "npx prettier . --check",
|
||||
"prettier-fix": "npx prettier . --write",
|
||||
"pretest": "pnpm run tsc",
|
||||
"test": "pnpm run pretest && cd lib && node modules/build windows-x64 && node modules/build linuxstatic-x64 && node modules/build macos-x64"
|
||||
"test-x64": "pnpm run pretest && cd lib && node modules/build windows-x64 && node modules/build linuxstatic-x64 && node modules/build macos-x64",
|
||||
"test-arm64": "pnpm run pretest && cd lib && node modules/build windows-arm64 && node modules/build linux-arm64 && node modules/build macos-arm64"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue