From 9ca4a62d36c46133caf911a10f93bd586f39ac95 Mon Sep 17 00:00:00 2001 From: "Geodecki 2P gr.1" <1p22geodecki@gmail.com> Date: Fri, 7 Jun 2024 17:50:02 +0200 Subject: [PATCH] ci: update CI for yarn v4 --- .github/workflows/linter.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index a4c9a40..e1ef46d 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -20,13 +20,13 @@ jobs: node-version: '20' - name: Install Dependencies - run: npm install + run: yarn install - name: Run Linter - run: npm run lint + run: yarn lint deploy: - name: Deploy to Production + name: Build # right now it's not doing any deploying, there's not even like, a webpage runs-on: ubuntu-latest steps: @@ -39,10 +39,17 @@ jobs: node-version: '20' - name: Install Dependencies - run: npm install + run: yarn install - name: Build - run: npm run build + run: yarn build + + - name: Upload build result + uses: actions/upload-artifact@v4.3.3 + with: + name: dist + path: dist/ + - name: Deploy # Add your deployment steps here, such as deploying to a server or cloud provider