From 54fa038d11cd01df617c1189b69a0118bad66402 Mon Sep 17 00:00:00 2001 From: Alina Derkach Date: Tue, 23 Jul 2024 16:29:21 +0300 Subject: [PATCH] Update main.yml (#166) --- .github/workflows/main.yml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e41bd29f..ef72420a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,17 +8,21 @@ jobs: name: Deploy docs runs-on: ubuntu-latest - steps: - #Pull the latest changes - - name: Chekout code - uses: actions/checkout@v3 + steps: + - name: Checkout repository + uses: actions/checkout@v4 with: - fetch-depth: 0 - #Prepare the env - - name: Set up Python - uses: actions/setup-python@v3 + fetch-depth: 0 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + + - name: Setup Python + uses: actions/setup-python@v4 with: - python-version: '3.x' + python-version: '3.x' #Configure git - name: Configure git @@ -58,4 +62,4 @@ jobs: # - name: Grammar # run: | # npx write-good --no-passive docs/**/*.md || true -# # Ignore errors, just inspect results \ No newline at end of file +# # Ignore errors, just inspect results