Skip to content

Commit 8b5f166

Browse files
committed
test workflow
1 parent 5bfcdb7 commit 8b5f166

3 files changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/deploy-app.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ jobs:
3737
working-directory: "./src/handler"
3838
run: npm ci --production
3939

40-
- name: Run tests
41-
working-directory: ./src/handler
42-
run: npm test
4340

4441
- name: Package Lambda function
4542
run: |

infra/environments/dev/backend.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ resource "aws_iam_role" "github_actions" {
7474
"token.actions.githubusercontent.com:aud" = "sts.amazonaws.com"
7575
}
7676
StringLike = {
77-
"token.actions.githubusercontent.com:sub" = "repo:${var.github_repo}:*"
77+
"token.actions.githubusercontent.com:sub" = "repo:${var.github_repo}"
7878
}
7979
}
8080
}

infra/environments/dev/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ variable "tags" {
4141
variable "github_repo" {
4242
description = "GitHub repository name"
4343
type = string
44-
default = "serverless.project"
44+
default = "hanimao/serverless.project:ref:refs/heads/main"
4545
}

0 commit comments

Comments
 (0)