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 }}'