From 0ae71c917ad1a3be04b10f9c6cb84a20ae1a8dad Mon Sep 17 00:00:00 2001 From: Gleb Bahmutov Date: Fri, 16 Feb 2024 18:18:21 -0500 Subject: [PATCH] setup node 20 on ci --- .github/workflows/badges.yml | 2 +- .github/workflows/ci.yml | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/badges.yml b/.github/workflows/badges.yml index 641fed3..850663f 100644 --- a/.github/workflows/badges.yml +++ b/.github/workflows/badges.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout ๐Ÿ›Ž - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Update version badges ๐Ÿท run: npx -p dependency-version-badge update-badge cypress diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 506533c..16e26d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,10 +6,15 @@ jobs: steps: - name: Checkout ๐Ÿ›Ž - uses: actions/checkout@v3 + uses: actions/checkout@v4 + + - name: Setup node 20 + uses: actions/setup-node@v4 + with: + node-version: 20 - name: Cypress tests ๐Ÿงช - uses: cypress-io/github-action@v5 + uses: cypress-io/github-action@v6 with: # check types build: npm run lint @@ -20,7 +25,8 @@ jobs: - name: Semantic Release ๐Ÿš€ if: github.ref == 'refs/heads/main' - uses: cycjimmy/semantic-release-action@v3 + # https://github.com/cycjimmy/semantic-release-action + uses: cycjimmy/semantic-release-action@v4 with: branches: main env: