Fix updater alert dark mode issue #1154
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and test | |
on: | |
push: | |
branches: ['main'] | |
pull_request: | |
branches: ['main'] | |
jobs: | |
markedit-mac: | |
name: MarkEditMac | |
runs-on: macos-13 | |
env: | |
node-version: '20.x' | |
DEVELOPER_DIR: /Applications/Xcode_15.2.app/Contents/Developer | |
defaults: | |
run: | |
working-directory: 'CoreEditor' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ env.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.node-version }} | |
cache: 'npm' | |
cache-dependency-path: '**/yarn.lock' | |
- name: Build and test CoreEditor | |
run: | | |
yarn install | |
yarn build | |
yarn test | |
- name: Build MarkEditMac | |
run: | | |
xcodebuild build -project ../MarkEdit.xcodeproj -scheme MarkEditMac -destination 'platform=macOS' CODE_SIGN_IDENTITY="" CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO | |
- name: Test MarkEditCoreTests | |
run: | | |
xcodebuild test -project ../MarkEdit.xcodeproj -scheme MarkEditCoreTests -destination 'platform=macOS' CODE_SIGN_IDENTITY="" CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO | |
- name: Test MarkEditMacTests | |
run: | | |
xcodebuild test -project ../MarkEdit.xcodeproj -scheme MarkEditMacTests -destination 'platform=macOS' CODE_SIGN_IDENTITY="" CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO | |
- name: Test ModulesTests | |
run: | | |
xcodebuild test -project ../MarkEdit.xcodeproj -scheme ModulesTests -destination 'platform=macOS' CODE_SIGN_IDENTITY="" CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO |