From 4271f9a538e87512f9f0706c0cdabab66754a94d Mon Sep 17 00:00:00 2001 From: Josh McVey Date: Fri, 26 Jan 2024 06:19:11 -0600 Subject: [PATCH 1/2] fix(ci): build-ts before push to npm --- .github/workflows/components-test-build-deploy.yaml | 5 ++--- .github/workflows/shared-data-test-lint-deploy.yaml | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/components-test-build-deploy.yaml b/.github/workflows/components-test-build-deploy.yaml index d27fc1b5686..4ba58f65188 100644 --- a/.github/workflows/components-test-build-deploy.yaml +++ b/.github/workflows/components-test-build-deploy.yaml @@ -191,6 +191,8 @@ jobs: yarn config set cache-folder ./.yarn-cache yarn config set network-timeout 60000 yarn + - name: 'build typescript' + run: make build-ts - name: 'build library' run: | make -C components lib @@ -210,6 +212,3 @@ jobs: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} run: | cd ./components && echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > ./.npmrc && npm publish --access public - - - \ No newline at end of file diff --git a/.github/workflows/shared-data-test-lint-deploy.yaml b/.github/workflows/shared-data-test-lint-deploy.yaml index 65776b1a5cc..9ae38097949 100644 --- a/.github/workflows/shared-data-test-lint-deploy.yaml +++ b/.github/workflows/shared-data-test-lint-deploy.yaml @@ -240,6 +240,8 @@ jobs: yarn config set cache-folder ./.yarn-cache yarn config set network-timeout 60000 yarn + - name: 'build typescript' + run: make build-ts - name: 'build library' run: | make -C shared-data lib-js From 38a3ffc88fd17dc1f525d284bec9cf839de31833 Mon Sep 17 00:00:00 2001 From: Josh McVey Date: Mon, 29 Jan 2024 09:16:50 -0600 Subject: [PATCH 2/2] fix(ci): do not exclude js on npm publish --- shared-data/.npmignore | 1 - 1 file changed, 1 deletion(-) diff --git a/shared-data/.npmignore b/shared-data/.npmignore index f70a5b8e891..ce7e2d1fbe0 100644 --- a/shared-data/.npmignore +++ b/shared-data/.npmignore @@ -1,4 +1,3 @@ dist -js python *.tgz