From b75434dbdcb43395bca6c245b1e5b1adbcc3b1e2 Mon Sep 17 00:00:00 2001 From: ajithvcoder Date: Mon, 4 Nov 2024 03:43:43 +0000 Subject: [PATCH] change workflow --- .github/workflows/ec2-pipeline.yml | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ec2-pipeline.yml b/.github/workflows/ec2-pipeline.yml index e10873a..815ab01 100644 --- a/.github/workflows/ec2-pipeline.yml +++ b/.github/workflows/ec2-pipeline.yml @@ -29,21 +29,20 @@ jobs: timeout-minutes: 20 # runs-on: ubuntu-latest steps: - - name: Set node environment - run: | - apt-get remove nodejs - apt-get remove npm - curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash - chmod +x ~/.nvm/nvm.sh - ls -a ~ - nvm -v - nvm install 20 - node -v - npm -v + # - name: Set node environment + # run: | + # apt-get remove nodejs + # apt-get remove npm + # curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash + # chmod +x ~/.nvm/nvm.sh + # ls -a ~ + # nvm -v + # nvm install 20 + # node -v + # npm -v + - name: Checkout code + - uses: actions/checkout@v2 - - uses: actions/checkout@v3 - with: - token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - name: Verify EC2 Instance run: |