From 1e56ba8a90942890b3c46f1e5f5264016940aed5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C5=82a=C5=BCej=20Che=C5=82kowski?= Date: Mon, 30 Jan 2023 11:29:58 +0100 Subject: [PATCH] fix: update workflow files (#38) --- .github/workflows/release.yml | 15 ++++++++------- .github/workflows/validate-code.yml | 4 ++-- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5ff105c..170c87b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,23 +9,24 @@ jobs: timeout-minutes: 10 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: - node-version: 14 + node-version-file: '.nvmrc' + cache: 'npm' - name: Semantic Release id: release - uses: cycjimmy/semantic-release-action@v2 + uses: cycjimmy/semantic-release-action@v3 env: GITHUB_TOKEN: ${{ github.token }} NPM_TOKEN: ${{ secrets.OSS_NPM_TOKEN }} with: extra_plugins: | - @semantic-release/changelog@5.0.1 - @semantic-release/git@9.0.0 + @semantic-release/changelog@6 + @semantic-release/git@10 - name: Teams notification - uses: toko-bifrost/ms-teams-deploy-card@3.1.2 + uses: toko-bifrost/ms-teams-deploy-card@3 if: always() with: github-token: ${{ github.token }} diff --git a/.github/workflows/validate-code.yml b/.github/workflows/validate-code.yml index 9b7aa4a..3fae3f9 100644 --- a/.github/workflows/validate-code.yml +++ b/.github/workflows/validate-code.yml @@ -6,9 +6,9 @@ jobs: timeout-minutes: 10 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version-file: '.nvmrc' cache: 'npm'