pnpm macos builds
This commit is contained in:
parent
5073844eb7
commit
4466df843a
1 changed files with 13 additions and 6 deletions
19
.github/workflows/build-macos.yml
vendored
19
.github/workflows/build-macos.yml
vendored
|
@ -23,7 +23,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
language: [ 'javascript' ]
|
node-version: [ 18 ]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: maxim-lobanov/setup-xcode@v1
|
- uses: maxim-lobanov/setup-xcode@v1
|
||||||
|
@ -34,6 +34,16 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- uses: pnpm/action-setup@v2.2.2
|
||||||
|
with:
|
||||||
|
version: 7
|
||||||
|
|
||||||
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
|
uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
cache: 'pnpm'
|
||||||
|
|
||||||
- name: Run Version Script
|
- name: Run Version Script
|
||||||
env:
|
env:
|
||||||
GH_REQUEST_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
GH_REQUEST_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||||
|
@ -49,12 +59,9 @@ jobs:
|
||||||
- name: Setup Environment
|
- name: Setup Environment
|
||||||
run: brew install automake #libtool autoconf
|
run: brew install automake #libtool autoconf
|
||||||
|
|
||||||
- name: Clear node_airtunes2 cache
|
|
||||||
run: sudo rm -rf /Users/runner/Library/Caches/Yarn/v6/.tmp/cf5bc2de2629636ca224995234b8eaa1 || true
|
|
||||||
|
|
||||||
- name: Install and Configure Node Modules
|
- name: Install and Configure Node Modules
|
||||||
run: |
|
run: |
|
||||||
yarn install
|
pnpm install
|
||||||
cp resources/verror-types node_modules/@types/verror/index.d.ts
|
cp resources/verror-types node_modules/@types/verror/index.d.ts
|
||||||
cp resources/macPackager.js node_modules/app-builder-lib/out/macPackager.js
|
cp resources/macPackager.js node_modules/app-builder-lib/out/macPackager.js
|
||||||
rm -r node_modules/pouchdb-node/node_modules/leveldown || true
|
rm -r node_modules/pouchdb-node/node_modules/leveldown || true
|
||||||
|
@ -70,7 +77,7 @@ jobs:
|
||||||
APPLE_ID_PASSWORD: ${{ secrets.APPLEIDPASS }}
|
APPLE_ID_PASSWORD: ${{ secrets.APPLEIDPASS }}
|
||||||
PSC_NAME: ${{ secrets.PSC_NAME }}
|
PSC_NAME: ${{ secrets.PSC_NAME }}
|
||||||
DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
|
DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
|
||||||
run: yarn dist:universalNotWorking -p never
|
run: pnpm dist:universalNotWorking -p never
|
||||||
|
|
||||||
- name: Add license to DMG
|
- name: Add license to DMG
|
||||||
run: npx dmg-license resources/license.json dist/*.dmg
|
run: npx dmg-license resources/license.json dist/*.dmg
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue