From bfc98a91a3f42a207e2e88395487e89aed01da1a Mon Sep 17 00:00:00 2001 From: "Jules Sam. Randolph" Date: Sun, 22 Sep 2024 09:20:47 -0300 Subject: [PATCH 1/2] Upgrade nodejs version in github action --- .github/workflows/ci.yml | 54 +++++++++++++++++++------------------- .github/workflows/docs.yml | 38 +++++++++++++-------------- .github/workflows/npm.yml | 11 ++++---- 3 files changed, 51 insertions(+), 52 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06e6fc4b2..44d2e0ab1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,32 +12,32 @@ jobs: strategy: matrix: - node-version: [14.x] + node-version: [20.x] steps: - - uses: actions/checkout@v2 - - name: Cache .dts - id: cache-dts - uses: actions/cache@v2 - with: - path: .dts - key: ${{ runner.os }}-dts - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - run: yarn install --immutable - - run: yarn workspace react-native-render-html test:ts - name: Typescript Tests - - run: yarn workspace react-native-render-html test:jest --coverage - name: Jest Tests - - run: yarn workspace react-native-render-html test:lint - name: Linting Tests - - run: yarn workspace react-native-render-html build - name: Build - - run: yarn build:tools - name: Build Tooling Libraries - - uses: codecov/codecov-action@v2 - with: - file: ./packages/render-html/coverage/clover.xml # optional - fail_ci_if_error: true # optional (default = false) \ No newline at end of file + - uses: actions/checkout@v2 + - name: Cache .dts + id: cache-dts + uses: actions/cache@v2 + with: + path: .dts + key: ${{ runner.os }}-dts + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: yarn install --immutable + - run: yarn workspace react-native-render-html test:ts + name: Typescript Tests + - run: yarn workspace react-native-render-html test:jest --coverage + name: Jest Tests + - run: yarn workspace react-native-render-html test:lint + name: Linting Tests + - run: yarn workspace react-native-render-html build + name: Build + - run: yarn build:tools + name: Build Tooling Libraries + - uses: codecov/codecov-action@v2 + with: + file: ./packages/render-html/coverage/clover.xml # optional + fail_ci_if_error: true # optional (default = false) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a7db70d52..2c9078318 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -12,24 +12,24 @@ jobs: strategy: matrix: - node-version: [14.x] + node-version: [20.x] steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - run: yarn install --immutable - - run: yarn workspace react-native-render-html build - name: Build sources - - run: yarn process-svg-assets - name: Process SVG assets - - run: yarn build:tools - name: Build Tooling Libraries - - run: yarn build:docs - name: Build documentation - - run: yarn website build - name: Build website - - run: yarn discovery test:ts - name: Discovery TS \ No newline at end of file + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: yarn install --immutable + - run: yarn workspace react-native-render-html build + name: Build sources + - run: yarn process-svg-assets + name: Process SVG assets + - run: yarn build:tools + name: Build Tooling Libraries + - run: yarn build:docs + name: Build documentation + - run: yarn website build + name: Build website + - run: yarn discovery test:ts + name: Discovery TS diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index 155538610..6928f24b2 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -6,17 +6,16 @@ on: description: 'NPM exact version' required: true schedule: - - cron: '0 0 * * *' + - cron: '0 0 * * *' jobs: build: - runs-on: ubuntu-latest strategy: matrix: - node-version: [14, 15, 16] - + node-version: [18, 20, 22] + steps: - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2 @@ -29,5 +28,5 @@ jobs: run: npm install -g @react-native-community/cli - name: Init new project run: react-native init --npm test; cd test - - name: "Install version ${{ github.event.inputs.version }}" - run: "npm install react-native-render-html@${{ github.event.inputs.version }}" \ No newline at end of file + - name: 'Install version ${{ github.event.inputs.version }}' + run: 'npm install react-native-render-html@${{ github.event.inputs.version }}' From 8325646fc8b39cf4ec8576b297a718ad2e1c44bc Mon Sep 17 00:00:00 2001 From: Wojciech Lewicki Date: Tue, 9 Jul 2024 11:43:15 +0200 Subject: [PATCH 2/2] fix: align with 0.75 --- .../react-native-render-html.podspec | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 packages/render-html/react-native-render-html.podspec diff --git a/packages/render-html/react-native-render-html.podspec b/packages/render-html/react-native-render-html.podspec deleted file mode 100644 index 6ac80d8f0..000000000 --- a/packages/render-html/react-native-render-html.podspec +++ /dev/null @@ -1,19 +0,0 @@ -require 'json' - -package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) - -Pod::Spec.new do |s| - s.name = package['name'] - s.version = package['version'] - s.summary = package['description'] - s.license = package['license'] - - s.authors = package['author'] - s.homepage = package['homepage'] - s.platform = :ios, "9.0" - - s.source = { :git => "https://github.com/meliorence/react-native-render-html.git", :tag => "v#{s.version}" } - s.source_files = "ios/**/*.{h,m}" - - s.dependency 'React-Core' -end