Skip to content

Commit

Permalink
change workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ajithvcoder committed Nov 4, 2024
1 parent 30b42ea commit b75434d
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/ec2-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit b75434d

Please sign in to comment.