From 0738f0616c33b3cfaffa6eebe26b406cbff9a3f0 Mon Sep 17 00:00:00 2001 From: Jefte Costa Date: Sun, 1 Sep 2024 13:58:39 -0300 Subject: [PATCH] feat(Update ci-setup.md): atualizando github action MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Atualizando github action para a versão 4 com node 20.x lts --- docs/guides/ci-setup.md | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/docs/guides/ci-setup.md b/docs/guides/ci-setup.md index 3f863baef3..22550aa92c 100644 --- a/docs/guides/ci-setup.md +++ b/docs/guides/ci-setup.md @@ -17,18 +17,14 @@ on: [push, pull_request] jobs: commitlint: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest + steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - name: Use Node.js + uses: actions/setup-node@v4 with: - fetch-depth: 0 - - name: Install required dependencies - run: | - apt update - apt install -y sudo - sudo apt install -y git curl - curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - - sudo DEBIAN_FRONTEND=noninteractive apt install -y nodejs + node-version: '20.x' - name: Print versions run: | git --version