From c7fa2fc36b4cb6f6c2ae2b1be7b3c2b8ce115fd8 Mon Sep 17 00:00:00 2001 From: Lukas Hass Date: Thu, 3 Feb 2022 18:44:49 +0100 Subject: [PATCH] remove unnecessary workflow steps iframe-api-typings do not depend on proto messages / i18n and are built into the correct dir --- .github/workflows/push-to-npm.yml | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/.github/workflows/push-to-npm.yml b/.github/workflows/push-to-npm.yml index 750ef224..b6cf4f12 100644 --- a/.github/workflows/push-to-npm.yml +++ b/.github/workflows/push-to-npm.yml @@ -22,31 +22,10 @@ jobs: run: cat package.json working-directory: "front/packages/iframe-api-typings" - - name: Install Protoc - uses: arduino/setup-protoc@v1 - with: - version: '3.x' - - name: "Install dependencies" run: yarn install working-directory: "front" - - name: "Install messages dependencies" - run: yarn install - working-directory: "messages" - - - name: "Build proto messages" - run: yarn run ts-proto && yarn run copy-to-front-ts-proto && yarn run json-copy-to-front - working-directory: "messages" - - - name: "Create index.html" - run: ./templater.sh - working-directory: "front" - - - name: "Generate i18n files" - run: yarn run typesafe-i18n - working-directory: "front" - - name: "Build" run: yarn run build-typings env: @@ -54,13 +33,6 @@ jobs: ADMIN_URL: "//localhost:80" working-directory: "front" - # We build the front to generate the typings of iframe_api, then we copy those typings in a separate package. - - name: Copy typings to package dir - run: cp front/dist/src/iframe_api.d.ts front/packages/iframe-api-typings/iframe_api.d.ts - - - name: Copy typings to package dir (2) - run: cp -R front/dist/src/Api front/packages/iframe-api-typings/Api - - name: Install dependencies in package run: yarn install working-directory: "front/packages/iframe-api-typings"