From 5c6d3425037ddbb0ae81046e41689ff20991f3e1 Mon Sep 17 00:00:00 2001 From: Julian Waller Date: Mon, 25 Sep 2023 12:38:26 +0100 Subject: [PATCH] chore: update ci to use node18. dont fail if codecov send fails --- .github/workflows/node.yaml | 23 ++++++++++------------- .github/workflows/publish.yaml | 4 ++-- 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/.github/workflows/node.yaml b/.github/workflows/node.yaml index 1d813fec..56f0d129 100644 --- a/.github/workflows/node.yaml +++ b/.github/workflows/node.yaml @@ -17,10 +17,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Use Node.js 14.x + - name: Use Node.js 18.x uses: actions/setup-node@v3 with: - node-version: 14.x + node-version: 18.x - name: Prepare Environment run: | yarn install @@ -61,12 +61,9 @@ jobs: CI: true - name: Send coverage uses: codecov/codecov-action@v3 - if: matrix.node-version == '14.x' - with: - fail_ci_if_error: true - # name: codecov-umbrella + if: matrix.node-version == '18.x' - name: Check docs generation - if: matrix.node-version == '14.x' + if: matrix.node-version == '18.x' run: | yarn docs:test env: @@ -88,10 +85,10 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Use Node.js 14.x + - name: Use Node.js 18.x uses: actions/setup-node@v3 with: - node-version: 14.x + node-version: 18.x - name: Check release is desired id: do-publish run: | @@ -155,10 +152,10 @@ jobs: # steps: # - uses: actions/checkout@v4 - # - name: Use Node.js 14.x + # - name: Use Node.js 18.x # uses: actions/setup-node@v3 # with: - # node-version: 14.x + # node-version: 18.x # - name: Prepare Environment # run: | # yarn install @@ -182,10 +179,10 @@ jobs: # steps: # - uses: actions/checkout@v4 - # - name: Use Node.js 14.x + # - name: Use Node.js 18.x # uses: actions/setup-node@v3 # with: - # node-version: 14.x + # node-version: 18.x # - name: Prepare Environment # run: | # yarn install diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index aeabb629..4e9aa317 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -44,10 +44,10 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Use Node.js 14.x + - name: Use Node.js 18.x uses: actions/setup-node@v3 with: - node-version: 14.x + node-version: 18.x - name: Check release is desired id: do-publish run: |