From 71309b7526f59ff8a730bdce4a7b7b475ce15b0f Mon Sep 17 00:00:00 2001 From: Asaf Korem Date: Fri, 3 Jan 2025 14:50:06 +0200 Subject: [PATCH] gh-actions: update setup node --- .github/workflows/deploy.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 554d192..aa4d9ac 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,18 +10,21 @@ jobs: runs-on: ubuntu-latest steps: + # 1. Check out the repository - name: Check out the repository uses: actions/checkout@v2 + # 2. Set up Node.js - name: Set up Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: 22 + # 3. Install dependencies and deploy - name: Deploy Docusaurus run: | cd website - npm install + npm ci GIT_USER=${{ secrets.GITHUB_ACTOR }} npm run deploy env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}