Skip to content

Commit 404a4dd

Browse files
committed
use arm lambdas and github runner
1 parent 307d047 commit 404a4dd

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

.github/workflows/deploy-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run: make test_unit
3535

3636
build:
37-
runs-on: ubuntu-latest
37+
runs-on: ubuntu-24.04-arm
3838
name: Build Application
3939
steps:
4040
- uses: actions/checkout@v4

.github/workflows/deploy-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
run: make test_unit
3434

3535
build:
36-
runs-on: ubuntu-latest
36+
runs-on: ubuntu-24.04-arm
3737
name: Build Application
3838
steps:
3939
- uses: actions/checkout@v4

cloudformation/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ Resources:
250250
DependsOn:
251251
- AppLogGroups
252252
Properties:
253-
Architectures: [x86_64]
253+
Architectures: [arm64]
254254
CodeUri: ../dist/lambda
255255
AutoPublishAlias: live
256256
Runtime: nodejs22.x
@@ -292,7 +292,7 @@ Resources:
292292
DependsOn:
293293
- AppLogGroups
294294
Properties:
295-
Architectures: [x86_64]
295+
Architectures: [arm64]
296296
CodeUri: ../dist/sqsConsumer
297297
AutoPublishAlias: live
298298
Runtime: nodejs22.x

src/api/esbuild.config.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,8 @@ const buildOptions = {
3030
},
3131
banner: {
3232
js: `
33-
import { fileURLToPath } from 'url';
3433
import { createRequire as topLevelCreateRequire } from 'module';
3534
const require = topLevelCreateRequire(import.meta.url);
36-
const __filename = fileURLToPath(import.meta.url);
37-
const __dirname = path.dirname(__filename);
3835
`.trim(),
3936
}, // Banner for compatibility with CommonJS
4037
plugins: [

0 commit comments

Comments
 (0)