From 5bc6af67f9d6ce0e90812de521e72941ffb31eb6 Mon Sep 17 00:00:00 2001 From: Ali <75311052+AAVision@users.noreply.github.com> Date: Sat, 30 Mar 2024 01:46:09 +0200 Subject: [PATCH] Edit workflow --- .github/workflows/main.yml | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6a20f41..cc477fd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,6 +8,25 @@ jobs: build-and-deploy: runs-on: ubuntu-latest + # steps: + # - name: Checkout code + # uses: actions/checkout@v2 + + # - name: Setup Node.js + # uses: actions/setup-node@v2 + # with: + # node-version: '14' + + # - name: Install dependencies + # run: npm install + + # - name: Build + # run: npm run build + + # - name: Deploy + # run: npm run ng deploy + + steps: - name: Checkout uses: actions/checkout@v2 @@ -15,10 +34,10 @@ jobs: - name: Use Node.js 21.x uses: actions/setup-node@v2 with: - node-version: 21.x + node-version: '21' - name: Prepare and deploy env: GH_TOKEN: ${{ secrets.GH_TOKEN }} - run: npm ci + run: npm install npm run ng deploy