From 733833708bd91558dcc3350e75123975af6acfcc Mon Sep 17 00:00:00 2001 From: Ali <75311052+AAVision@users.noreply.github.com> Date: Sat, 30 Mar 2024 01:49:29 +0200 Subject: [PATCH] Edit workflow --- .github/workflows/main.yml | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cc477fd..4a7cd44 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,25 +8,6 @@ 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 @@ -34,10 +15,10 @@ jobs: - name: Use Node.js 21.x uses: actions/setup-node@v2 with: - node-version: '21' + node-version: "21" - name: Prepare and deploy env: GH_TOKEN: ${{ secrets.GH_TOKEN }} - run: npm install + run: npm ci npm run ng deploy