Skip to content

Commit f5b52f0

Browse files
authored
Merge pull request #2 from aaronzi/main
Implements Client for AAS Repository
2 parents 40bea1b + 9408c5f commit f5b52f0

26 files changed

+13359
-14
lines changed

.github/workflows/build-sdk.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Build SDK
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Set up Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: '22'
21+
22+
- name: Install Yarn
23+
run: npm install -g yarn
24+
25+
- name: Install Dependencies
26+
run: |
27+
yarn install
28+
29+
- name: Build
30+
run: |
31+
yarn build

.github/workflows/test-sdk.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Test SDK
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
test:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Set up Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: '22'
21+
22+
- name: Install Yarn
23+
run: npm install -g yarn
24+
25+
- name: Install Dependencies
26+
run: |
27+
yarn install
28+
29+
- name: Build
30+
run: |
31+
yarn test

eslint.config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import ts from 'typescript-eslint';
66

77
export default [
88
{
9-
ignores: ['node_modules', 'dist'],
9+
ignores: ['node_modules', 'dist', 'src/generated'],
1010
},
1111

1212
{

jest.config.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
module.exports = {
2+
preset: 'ts-jest',
3+
testEnvironment: 'node',
4+
moduleNameMapper: {
5+
'^@/(.*)$': '<rootDir>/src/$1',
6+
},
7+
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
8+
transform: {
9+
'^.+\\.tsx?$': ['ts-jest', { tsconfig: 'tsconfig.test.json' }],
10+
},
11+
collectCoverage: true,
12+
coverageDirectory: 'coverage',
13+
coverageReporters: ['json', 'lcov', 'text', 'clover'],
14+
coveragePathIgnorePatterns: ['<rootDir>/src/generated/'],
15+
testPathIgnorePatterns: ['<rootDir>/dist/', '<rootDir>/node_modules/'],
16+
};

0 commit comments

Comments
 (0)