From d4c1bc9b066d51e0a1b2c40f221ff7102fd6dd1f Mon Sep 17 00:00:00 2001 From: Juliano Souza <46322485+thespamer@users.noreply.github.com> Date: Sun, 26 Mar 2023 12:10:19 -0300 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 34 ++++++++++++++++++++++++++++------ 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0f0b6dcea..a4ab8064c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,18 +13,40 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - - name: Install Dependencies - run: yarn install --frozen-lockfile + - name: Install Dependencies Allowances + run: cd allowances; yarn install --frozen-lockfile + + - name: Install Dependencies Dutchx_seller + run: cd dutchx_seller; yarn install --frozen-lockfile + + - name: Install Dependencies Recrurring_transfers + run: cd recuring_transfers; yarn install --frozen-lockfile - - name: Build - run: yarn build + - name: Build Allowances + run: cd allowances; yarn build + + - name: Build Dutchx_seller + run: cd dutchx_seller; yarn build + + - name: Build Recrurring_transfers + run: cd recuring_transfers; yarn build - name: Login to NPM env: NODE_AUTH_TOKEN: ${{secrets.NPMJS_TOKEN}} run: echo "//registry.npmjs.org/:_authToken=\${NODE_AUTH_TOKEN}" >> ~/.npmrc - - name: Publish + - name: Publish Allowances + env: + NODE_AUTH_TOKEN: ${{secrets.NPMJS_TOKEN}} + run: cd allowances; npm publish + + - name: Publish Dutchx_Seller + env: + NODE_AUTH_TOKEN: ${{secrets.NPMJS_TOKEN}} + run: cd dutchx_seller; npm publish + + - name: Publish Recurring_Transfers env: NODE_AUTH_TOKEN: ${{secrets.NPMJS_TOKEN}} - run: npm publish + run: cd recuring_transfers; npm publish