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