Skip to content

Commit

Permalink
Use cheap module source map (#520)
Browse files Browse the repository at this point in the history
* Use cheap module source map

* Update ios-ci.yml

* Update ios-ci.yml

* Update ios-ci.yml
  • Loading branch information
y3fers0n authored Apr 23, 2024
1 parent 2bfd36a commit 6819e7e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ios-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,24 @@ on:

jobs:
build:
runs-on: macos-12
runs-on: macos-13
steps:
- uses: actions/checkout@v2

- name: Install dependencies
run: brew install xcbeautify

- name: Setup Xcode 14
run: sudo xcode-select -s /Applications/Xcode_14.0.1.app/Contents/Developer
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '14.3.1'

- name: Test Pod build
run: |
pod install
set -o pipefail && xcodebuild -workspace PodsTest.xcworkspace -scheme PodsTest -destination "platform=iOS Simulator,name=iPhone 13" test | xcbeautify
set -o pipefail && xcodebuild -workspace PodsTest.xcworkspace -scheme PodsTest -destination "platform=iOS Simulator,name=iPhone 14 Pro" test | xcbeautify
working-directory: ios/PodsTest

- name: Test SPM build
run: |
set -o pipefail && xcodebuild -project TrustWeb3Provider.xcodeproj -scheme TrustWeb3Provider-Example -destination "platform=iOS Simulator,name=iPhone 13" | xcbeautify
set -o pipefail && xcodebuild -project TrustWeb3Provider.xcodeproj -scheme TrustWeb3Provider-Example -destination "platform=iOS Simulator,name=iPhone 14 Pro" | xcbeautify
working-directory: ios
1 change: 1 addition & 0 deletions adapter/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const webpack = require('webpack');

module.exports = {
mode: 'development',
devtool: 'cheap-module-source-map',
entry: '/src/initialize.ts',
output: {
filename: 'index.js',
Expand Down
4 changes: 2 additions & 2 deletions dist/trust-min.js
Git LFS file not shown

0 comments on commit 6819e7e

Please sign in to comment.