From cf92de1f9ab8f07cb627be10233959331823fc68 Mon Sep 17 00:00:00 2001 From: Jordi Roig Date: Fri, 23 Feb 2024 16:00:15 +0100 Subject: [PATCH] feat: use node 20 in workflows --- .github/workflows/test-and-release-beta.yml | 9 +++++++++ .github/workflows/verify-transpiled-code.yaml | 1 - 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-and-release-beta.yml b/.github/workflows/test-and-release-beta.yml index 80a3914..de54545 100644 --- a/.github/workflows/test-and-release-beta.yml +++ b/.github/workflows/test-and-release-beta.yml @@ -15,6 +15,9 @@ jobs: npm config set '//npm.pkg.github.com/:_authToken' ${{ secrets.GITHUB_TOKEN }} npm config set @typeform:registry https://npm.pkg.github.com/ - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 - run: | yarn install - run: | @@ -25,6 +28,9 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + - uses: actions/setup-node@v4 + with: + node-version: 20 - name: Test all checks uses: ./ with: @@ -51,6 +57,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 - name: Semantic Release id: semantic uses: codfish/semantic-release-action@4e9fa8ec064813465dfeccac8ae70f1348fb5dec diff --git a/.github/workflows/verify-transpiled-code.yaml b/.github/workflows/verify-transpiled-code.yaml index 9edb04c..7566089 100644 --- a/.github/workflows/verify-transpiled-code.yaml +++ b/.github/workflows/verify-transpiled-code.yaml @@ -10,7 +10,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 with: node-version: 20