Skip to content

Commit 0c7bc0e

Browse files
Merge main branch into LLMO-1023 - resolve package conflicts
2 parents 306132b + 26bfcc6 commit 0c7bc0e

File tree

270 files changed

+74448
-38822
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

270 files changed

+74448
-38822
lines changed

.github/actions/setup-node-npm/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ runs:
55
using: "composite"
66
steps:
77
- name: Set up Node
8-
uses: actions/setup-node@v5
8+
uses: actions/setup-node@v6
99
with:
10-
node-version: 22.19
10+
node-version: 22.21
1111

1212
- name: Get npm cache directory
1313
id: npm-cache-dir

.github/workflows/ci.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,41 @@ jobs:
8888
AWS_REGION: us-east-1
8989
AWS_ACCOUNT_ID: ${{secrets.AWS_ACCOUNT_ID_STAGE}}
9090

91+
upload-build-artifacts:
92+
runs-on: ubuntu-latest
93+
needs: build
94+
if: github.ref == 'refs/heads/main'
95+
steps:
96+
- name: Check out
97+
uses: actions/checkout@v5
98+
with:
99+
persist-credentials: 'false'
100+
101+
- name: Setup Node & NPM
102+
uses: ./.github/actions/setup-node-npm
103+
104+
- name: Configure AWS for DEV
105+
uses: ./.github/actions/configure-aws
106+
with:
107+
aws_role_to_assume: 'arn:aws:iam::${{secrets.AWS_ACCOUNT_ID_DEV}}:role/spacecat-role-github-actions'
108+
109+
- name: Create Build Artifacts
110+
run: npm run build
111+
env:
112+
AWS_REGION: us-east-1
113+
AWS_ACCOUNT_ID: ${{secrets.AWS_ACCOUNT_ID_DEV}}
114+
115+
- name: Copy Build Artifact
116+
run: cp dist/spacecat-services/audit-worker@*.zip spacecat-services--audit-worker-latest.zip
117+
env:
118+
AWS_REGION: us-east-1
119+
AWS_ACCOUNT_ID: ${{secrets.AWS_ACCOUNT_ID_DEV}}
120+
121+
- name: Upload Build Artifact
122+
run: aws s3 cp spacecat-services--audit-worker-latest.zip s3://spacecat-artifacts-dev/spacecat-services--audit-worker-latest.zip
123+
env:
124+
AWS_REGION: us-east-1
125+
AWS_ACCOUNT_ID: ${{secrets.AWS_ACCOUNT_ID_DEV}}
91126

92127
branch-deploy:
93128
runs-on: ubuntu-latest

.nycrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
"src/index-local.js",
1616
"src/coverage/**/*.js"
1717
]
18-
}
18+
}

CHANGELOG.md

Lines changed: 757 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,3 +654,4 @@ Here's how messages flow between workers in a step-based audit:
654654
```
655655
656656
Each message preserves the `auditContext` to maintain the step chain. The `next` field determines which step runs next, while `auditId` and `fullAuditRef` track the audit state across workers.
657+

eslint.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@
1212

1313
import babelParser from '@babel/eslint-parser';
1414
import { defineConfig, globalIgnores } from '@eslint/config-helpers'
15-
import {recommended, source, test} from '@adobe/eslint-config-helix';
15+
import { recommended, source, test } from '@adobe/eslint-config-helix';
1616

1717
export default defineConfig([
1818
globalIgnores([
1919
'.vscode/*',
2020
'.idea/*',
21+
'.aws-sam/*',
2122
'coverage/*',
2223
'scripts/*',
2324
'test/*/fixtures/*',
@@ -37,7 +38,7 @@ export default defineConfig([
3738
}
3839
},
3940
{
40-
extends: [ recommended ],
41+
extends: [recommended],
4142
plugins: {
4243
import: recommended.plugins.import,
4344
},

0 commit comments

Comments
 (0)