Skip to content

Commit

Permalink
downgrade node version
Browse files Browse the repository at this point in the history
  • Loading branch information
samhstn committed Aug 18, 2023
1 parent 5923c2c commit ec2ae86
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Parameters:
EC2InstanceType:
Type: String
EC2AMI:
Type: AWS::SSM::Parameter::Value<AWS::EC2::Image::Id>
Type: 'AWS::SSM::Parameter::Value<AWS::EC2::Image::Id>'
Default: '/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2'
Resources:
SecurityGroup:
Expand Down Expand Up @@ -93,9 +93,9 @@ Resources:
. /home/ec2-user/.bashrc

# Install NVM, NPM, Node.JS
nvm alias default v18.12.1
nvm install v18.12.1
nvm use v18.12.1
nvm alias default v16.18.1
nvm install v16.18.1
nvm use v16.18.1

# Download latest code, unzip it into /home/ec2-user/app
wget https://github.com/samhstn/website/archive/hello-world.zip
Expand Down

0 comments on commit ec2ae86

Please sign in to comment.