From 6819e7e807096c4e831987af045a3e543e977870 Mon Sep 17 00:00:00 2001 From: Yeferson Licet <111311418+y3fers0n@users.noreply.github.com> Date: Tue, 23 Apr 2024 08:54:11 -0300 Subject: [PATCH] Use cheap module source map (#520) * Use cheap module source map * Update ios-ci.yml * Update ios-ci.yml * Update ios-ci.yml --- .github/workflows/ios-ci.yml | 11 ++++++----- adapter/webpack.config.js | 1 + dist/trust-min.js | 4 ++-- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ios-ci.yml b/.github/workflows/ios-ci.yml index 3e3947d4..b5ea73ec 100644 --- a/.github/workflows/ios-ci.yml +++ b/.github/workflows/ios-ci.yml @@ -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 diff --git a/adapter/webpack.config.js b/adapter/webpack.config.js index 06b4f26d..8dd9ea41 100644 --- a/adapter/webpack.config.js +++ b/adapter/webpack.config.js @@ -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', diff --git a/dist/trust-min.js b/dist/trust-min.js index 56f6aade..aa9216d4 100644 --- a/dist/trust-min.js +++ b/dist/trust-min.js @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b3aaca1122853debbad2467dc6486a2839280d6ee22d03f4e5fa906f9ac38235 -size 1976890 +oid sha256:1908e726093b70351e892691257436af0f1a424405c4f770890ac5619331fd0d +size 1689910