diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f7a0261..ad50828 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,9 +9,29 @@ env: RUST_BACKTRACE: 1 jobs: - # Job 1: Format Check + build-node: + name: [TS] Build + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + + - name: Install dependencies + run: npm ci + working-directory: ./reader/ts + + - name: Build project + run: npm run build + working-directory: ./reader/ts + format: - name: Format Check + name: [RUST] Format Check runs-on: ubuntu-latest steps: - name: Checkout code @@ -25,9 +45,8 @@ jobs: - name: Check formatting run: cargo fmt --all -- --check - # Job 2: Lint Check lint: - name: Lint Check + name: [RUST] Lint Check runs-on: ubuntu-latest steps: - name: Checkout code @@ -52,9 +71,8 @@ jobs: - name: Run clippy run: cargo clippy --all-targets --all-features - # Job 3: Build build: - name: Build + name: [RUST] Build needs: [ lint, format ] runs-on: ubuntu-latest steps: @@ -79,7 +97,7 @@ jobs: run: cargo build --verbose --all-features package: - name: Package + name: [RUST] Package needs: build runs-on: ubuntu-latest steps: @@ -103,7 +121,7 @@ jobs: run: cargo package --allow-dirty --verbose --all-features report: - name: Report + name: [RUST] Report needs: [ build ] runs-on: ubuntu-latest steps: diff --git a/reader/ts/package-lock.json b/reader/ts/package-lock.json index 128b047..b8a8fc2 100644 --- a/reader/ts/package-lock.json +++ b/reader/ts/package-lock.json @@ -8,7 +8,7 @@ "name": "@code0-tech/definition-reader", "version": "0.0.0", "dependencies": { - "@code0-tech/sagittarius-graphql-types": "^0.0.0-3bdab57d324cfeb2abf2cf60a801039b45de746d", + "@code0-tech/sagittarius-graphql-types": "^0.0.0-00f33663039d78ad59e95306730878c687de5c48", "@code0-tech/tucana": "^0.0.37", "@protobuf-ts/runtime": "^2.11.1" }, @@ -19,8 +19,8 @@ } }, "node_modules/@code0-tech/sagittarius-graphql-types": { - "version": "0.0.0-3bdab57d324cfeb2abf2cf60a801039b45de746d", - "resolved": "https://registry.npmjs.org/@code0-tech/sagittarius-graphql-types/-/sagittarius-graphql-types-0.0.0-3bdab57d324cfeb2abf2cf60a801039b45de746d.tgz", + "version": "0.0.0-00f33663039d78ad59e95306730878c687de5c48", + "resolved": "https://registry.npmjs.org/@code0-tech/sagittarius-graphql-types/-/sagittarius-graphql-types-0.0.0-00f33663039d78ad59e95306730878c687de5c48.tgz", "integrity": "sha512-UzB9ugIJmOTH1t5t7u4+ZdbNbW8W1HlOCRagWKKiCSUkOS9FeQomiLmKT7LU0qxmzkHW0RoJg2dn4YrsA1i+zA==" }, "node_modules/@code0-tech/tucana": { diff --git a/reader/ts/package.json b/reader/ts/package.json index 624d4bf..7a8c7f0 100644 --- a/reader/ts/package.json +++ b/reader/ts/package.json @@ -32,7 +32,7 @@ "access": "public" }, "dependencies": { - "@code0-tech/sagittarius-graphql-types": "^0.0.0-3bdab57d324cfeb2abf2cf60a801039b45de746d", + "@code0-tech/sagittarius-graphql-types": "^0.0.0-00f33663039d78ad59e95306730878c687de5c48 ", "@code0-tech/tucana": "^0.0.37", "@protobuf-ts/runtime": "^2.11.1" }