Skip to content

Commit 4f5df08

Browse files
committed
updating to use linux builds
1 parent e124837 commit 4f5df08

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/node.js.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,8 @@ jobs:
223223
node-version: [18.x]
224224
env:
225225
NODE_OPTIONS: '--max-old-space-size=8192'
226+
AUTH_UTIL_LAMBDA_ARN: ${{ secrets.AUTH_UTIL_LAMBDA_ARN }}
227+
226228
steps:
227229
- uses: actions/checkout@v4
228230
- name: Use Node.js ${{ matrix.node-version }}

buildspec/linuxE2ETests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ env:
1313
# followed by Error: Could not delete obsolete instance handle Error: ENOENT: no such file or directory, unlink <path>
1414
AWS_TOOLKIT_TEST_CACHE_DIR: '/tmp/.vscode-test/'
1515
AWS_TOOLKIT_TEST_USER_DIR: '/tmp/.vscode-test/user-data/'
16+
AUTH_UTIL_LAMBDA_ARN: '/GitHubBot/AuthLambdaArn'
1617

1718
phases:
1819
install:
@@ -38,8 +39,9 @@ phases:
3839
build:
3940
commands:
4041
- export HOME=/home/codebuild-user
41-
# Ignore failure until throttling issues are fixed.
42-
- xvfb-run npm run testE2E; npm run mergeReports -- "$?"
42+
- export NODE_OPTIONS='--max-old-space-size=8192'
43+
- npm ci
44+
- xvfb-run npm run test:ui
4345
- VCS_COMMIT_ID="${CODEBUILD_RESOLVED_SOURCE_VERSION}"
4446
- CI_BUILD_URL=$(echo $CODEBUILD_BUILD_URL | sed 's/#/%23/g')
4547
- CI_BUILD_ID="${CODEBUILD_BUILD_ID}"

0 commit comments

Comments
 (0)