From 057921a87d70da25ebb995a5a2c1d5eed4237690 Mon Sep 17 00:00:00 2001 From: Siarhei Yelin Date: Tue, 18 Jul 2023 15:35:27 +0300 Subject: [PATCH] upgrade container version to node: 18 to avoid error https://github.com/actions/runner-images/issues/6775 --- .github/workflows/base.yml | 2 +- .github/workflows/test.yml | 8 ++++---- .github/workflows/trackBundleSize.yml | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/base.yml b/.github/workflows/base.yml index 26d6cfa5cc..b7097b6d88 100644 --- a/.github/workflows/base.yml +++ b/.github/workflows/base.yml @@ -46,7 +46,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '16.x' + node-version: '18.x' - uses: actions/cache@v3 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 02298fa504..31f15aff7f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,13 +23,13 @@ jobs: # No need to run this job on "pull_request" from main UUI repo, because it's guaranteed it's already run on "push" event. if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != 'epam/UUI' || github.event_name == 'push' runs-on: ubuntu-latest - container: node:16 + container: node:18 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: '16.x' + node-version: '18.x' - uses: actions/cache@v2 with: diff --git a/.github/workflows/trackBundleSize.yml b/.github/workflows/trackBundleSize.yml index 1efc0f80e2..84dc5738b7 100644 --- a/.github/workflows/trackBundleSize.yml +++ b/.github/workflows/trackBundleSize.yml @@ -12,7 +12,7 @@ concurrency: jobs: track-bundle-size: runs-on: ubuntu-latest - container: node:16 + container: node:18 steps: - uses: actions/checkout@v3 with: @@ -20,9 +20,9 @@ jobs: repository: ${{ github.event.pull_request.head.repo.full_name }} path: source-branch - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v3 with: - node-version: '16.x' + node-version: '18.x' - uses: actions/cache@v2 with: