From f28c424fb50ed0781570f701d5bf8ffec18e3f6b Mon Sep 17 00:00:00 2001 From: Yuri Date: Fri, 26 Jan 2024 21:00:51 +0100 Subject: [PATCH] Update github action's node to version 18 --- .github/workflows/cd.yml | 4 ++-- .github/workflows/run-tests.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 7dee21ac..4887b79e 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -17,10 +17,10 @@ jobs: # "github.event.release.target_commitish" is a global variable and specifies the branch the release targeted ref: ${{ github.event.release.target_commitish }} # install Node.js - - name: Use Node.js 16 + - name: Use Node.js 18 uses: actions/setup-node@v1 with: - node-version: 16 + node-version: 18 # Specifies the registry, this field is required! registry-url: 'https://registry.npmjs.org' # clean install of your projects' deps. We use "npm ci" to avoid package lock changes diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index eb136590..c4a70d6b 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -8,7 +8,7 @@ jobs: - name: Run unit tests uses: actions/setup-node@v1 with: - node-version: '16' + node-version: '18' - run: yarn install - run: yarn test:2.0.0