From ef4bee55c7313cd67a2f674a2ed448dd8d5a4b10 Mon Sep 17 00:00:00 2001 From: kevin Date: Thu, 12 Dec 2024 12:20:47 -0500 Subject: [PATCH 1/2] fix issue with PR check --- .github/workflows/ci.yml | 4 ++- .github/workflows/ci.yml.branch | 58 +++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+), 1 deletion(-) create mode 100755 .github/workflows/ci.yml.branch diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d8d373..6e93bdd 100755 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,8 +24,10 @@ jobs: echo NPM Version npm --version echo - - name: Install NPM packages + - name: Install NPM packages (workspace) run: npm ci -ws + - name: Install NPM packages (root) + run: npm ci - name: Build API Types Package run: | echo Building... diff --git a/.github/workflows/ci.yml.branch b/.github/workflows/ci.yml.branch new file mode 100755 index 0000000..6e93bdd --- /dev/null +++ b/.github/workflows/ci.yml.branch @@ -0,0 +1,58 @@ +name: CI + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [18.x] + + steps: + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: "npm" + - name: Node & NPM versions + run: | + echo Node Version + node --version + echo + echo NPM Version + npm --version + echo + - name: Install NPM packages (workspace) + run: npm ci -ws + - name: Install NPM packages (root) + run: npm ci + - name: Build API Types Package + run: | + echo Building... + npm run build-pkg:api-types + - name: Build Rich Types Package + run: | + echo Building... + npm run build-pkg:rich-types + - name: Build Rest Fetch Package + run: | + echo Building... + npm run build-pkg:rest-fetch + - name: Build Client SDK + run: | + echo Building... + npm run build-pkg:client-sdk + - name: Build Shared Package + run: | + echo Building... + npm run build-pkg:shared + - name: Build VS Code Extension + run: | + echo Building... + npm run build-pkg:extension + - name: Build Web App + run: | + echo Building... + npm run build-pkg:web-app From d1410f773188e9e9af79b28f7facd6c1847169b2 Mon Sep 17 00:00:00 2001 From: kevin Date: Thu, 12 Dec 2024 12:21:04 -0500 Subject: [PATCH 2/2] remove copy --- .github/workflows/ci.yml.branch | 58 --------------------------------- 1 file changed, 58 deletions(-) delete mode 100755 .github/workflows/ci.yml.branch diff --git a/.github/workflows/ci.yml.branch b/.github/workflows/ci.yml.branch deleted file mode 100755 index 6e93bdd..0000000 --- a/.github/workflows/ci.yml.branch +++ /dev/null @@ -1,58 +0,0 @@ -name: CI - -on: [push] - -jobs: - build: - runs-on: ubuntu-latest - strategy: - matrix: - node-version: [18.x] - - steps: - - uses: actions/checkout@v1 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - cache: "npm" - - name: Node & NPM versions - run: | - echo Node Version - node --version - echo - echo NPM Version - npm --version - echo - - name: Install NPM packages (workspace) - run: npm ci -ws - - name: Install NPM packages (root) - run: npm ci - - name: Build API Types Package - run: | - echo Building... - npm run build-pkg:api-types - - name: Build Rich Types Package - run: | - echo Building... - npm run build-pkg:rich-types - - name: Build Rest Fetch Package - run: | - echo Building... - npm run build-pkg:rest-fetch - - name: Build Client SDK - run: | - echo Building... - npm run build-pkg:client-sdk - - name: Build Shared Package - run: | - echo Building... - npm run build-pkg:shared - - name: Build VS Code Extension - run: | - echo Building... - npm run build-pkg:extension - - name: Build Web App - run: | - echo Building... - npm run build-pkg:web-app