Commit 6ab5029d authored by nanahira's avatar nanahira

test macOS m1 build

parent 6b71d41a
#!/bin/bash
set -x
set -o errexit
if [[ -z "$CI_COMMIT_TAG" ]]; then
export TRAVIS_BRANCH="_no_notarize"
fi
npm ci
npm run build
npm run dist:mac
......@@ -69,9 +69,7 @@ macOS:
APPLE_ID_PASSWORD: $MACOS_NOTARIZE_PASSWORD
TEAM_SHORT_NAME: $MACOS_ASC_PROVIDER
script:
- npm ci
- npm run build
- npm run dist
- ./.ci/macos-build.sh
- ls
artifacts:
paths:
......
......@@ -9,6 +9,7 @@
"watch": "ng build --localize --base-href .. --watch --configuration development",
"pack": "electron-builder --dir",
"dist": "electron-builder",
"dist:mac": "electron-builder --universal",
"i18n:extract": "ng extract-i18n",
"i18n:upload": "tx push --source",
"i18n:translate": "open https://www.transifex.com/mycard/mycard/translate/#en_US/messages-xlf?q=translated%3Ano",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment