From 2baabcbb7d78f0d0b4abdf914483fdc73271e241 Mon Sep 17 00:00:00 2001 From: BreizhHardware Date: Sat, 28 Sep 2024 00:49:42 +0200 Subject: [PATCH] Fix CI/CD --- .github/workflows/deploy.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a6e12ad..e317577 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,6 +16,16 @@ jobs: with: fetch-depth: 0 + - name: Use Node.js + uses: actions/setup-node@v2 + with: + node-version: '18' + + - name: Install dependencies and build + run: | + npm ci + npm run build + - name: Copy build directory to server uses: Dylan700/sftp-upload-action@v1.2.3 with: