title: Error 'Unable to upload artifact' in CodePipeline when deploying a project in typescript
body: <p>I'm migrating a lambda project from javascript to typescript but CodeBuild step always fail in the deploy and I don't understand what could be cause the of the issue</p>
  <p>This is my build spec:</p>
  <pre><code>version: 0.2
  phases:
    install:
      commands:
        - apt-get update
        - npm i yarn -g
        - yarn --ignore-engines
        - find ./node_modules -mtime +10950 -exec touch {} +
        - rm -rf ./docs
    build:
      commands:
        - yarn compile:server
        - aws cloudformation package
          --template-file templates/samTemplate.yaml
          --s3-bucket ${CFN_BUCKET}
          --output-template-file templates/outputSamTemplate.yaml
  artifacts:
    type: zip
    files:
      - '**/*'
  
  
  Unable to upload artifact ./../ referenced by CodeUri parameter of MyLambda resource.
  'ascii' codec can't decode byte 0xe6 in position 1: ordinal not in range(128)
  </code></pre>
  <p>And this is CloudFormation piece for my lambda:</p>
  <pre><code>  MyLambda:
      Type: AWS::Serverless::Function
      Properties:
        FunctionName: !Sub &quot;lambda&quot;
        Role: !GetAtt LambdaRole.Arn
        CodeUri: ./../
        Handler: dist/handler/lambda.lambda
        Runtime: nodejs12.x
        Timeout: 30
  </code></pre>
  <p>Dos anyone know what could be possible happening?</p>