From 5a820eac1580a7678a20e9f9f3ad8e1d5a7c4205 Mon Sep 17 00:00:00 2001 From: Volodymyr Zakhovaiko Date: Fri, 26 Jul 2024 11:09:18 +0200 Subject: [PATCH] Bumped gh actions --- .../check_dependency_duplications.yml | 20 +++++++++---------- .../check_dependency_vulnerabilities.yml | 20 +++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/check_dependency_duplications.yml b/.github/workflows/check_dependency_duplications.yml index 1379399..6c7a8d8 100644 --- a/.github/workflows/check_dependency_duplications.yml +++ b/.github/workflows/check_dependency_duplications.yml @@ -13,11 +13,11 @@ jobs: units: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up Node.js 16 - uses: actions/setup-node@v2.5.1 + - uses: actions/checkout@v4 + - name: Set up Node.js 20 + uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 - name: Run tests working-directory: ./actions/npm-dependency-duplications run: | @@ -27,12 +27,12 @@ jobs: check-dist: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - name: Set Node.js 16 - uses: actions/setup-node@v2.5.1 + - name: Set Node.js 20 + uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 - name: Install dependencies and build working-directory: ./actions/npm-dependency-duplications @@ -51,7 +51,7 @@ jobs: id: diff # If index.js was different from expected, upload the expected version as an artifact - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 if: ${{ failure() && steps.diff.conclusion == 'failure' }} with: name: dist @@ -61,5 +61,5 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ./actions/npm-dependency-duplications diff --git a/.github/workflows/check_dependency_vulnerabilities.yml b/.github/workflows/check_dependency_vulnerabilities.yml index d408b47..d5b6559 100644 --- a/.github/workflows/check_dependency_vulnerabilities.yml +++ b/.github/workflows/check_dependency_vulnerabilities.yml @@ -12,11 +12,11 @@ jobs: units: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set Node.js 16 - uses: actions/setup-node@v2.5.1 + - uses: actions/checkout@v4 + - name: Set Node.js 20 + uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 - name: Run tests working-directory: ./actions/npm-dependency-vulnerabilities run: | @@ -26,12 +26,12 @@ jobs: check-dist: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - name: Set Node.js 16 - uses: actions/setup-node@v2.5.1 + - name: Set Node.js 20 + uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 - name: Install dependencies and build working-directory: ./actions/npm-dependency-vulnerabilities @@ -50,7 +50,7 @@ jobs: id: diff # If index.js was different from expected, upload the expected version as an artifact - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 if: ${{ failure() && steps.diff.conclusion == 'failure' }} with: name: dist @@ -60,5 +60,5 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ./actions/npm-dependency-vulnerabilities