From 10b463e9f6a7d714ce4293375688a76804f2bf1f Mon Sep 17 00:00:00 2001 From: Juga Paazmaya Date: Fri, 7 Jul 2023 16:42:44 +0300 Subject: [PATCH] Update GitHub Actions tool versions and keep them consistent --- .github/workflows/ci.yml | 8 +++++--- .github/workflows/release.yml | 9 ++++++--- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3442278..67fe313 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,10 +9,12 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup Node.js environment - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 + with: + node-version: 16 - name: Install npm dependencies run: npm ci @@ -21,6 +23,6 @@ jobs: run: npm run test:cov - name: Codacy Coverage Reporter - uses: codacy/codacy-coverage-reporter-action@0.2.0 + uses: codacy/codacy-coverage-reporter-action@v1 with: project-token: ${{ secrets.CODACY_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5913703..a4866d8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,15 +6,18 @@ on: jobs: release: name: Release - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest + steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Setup Node.js environment - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 + with: + node-version: 16 - name: Install dependencies run: npm ci