From 085694a1d457f902497e806ed411e056f34585cd Mon Sep 17 00:00:00 2001 From: immasandwich Date: Fri, 22 Apr 2022 11:04:40 -0400 Subject: [PATCH] build: Move build step to publish step (#207) --- .github/workflows/publish.yml | 5 ++++- .github/workflows/release.yml | 3 --- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ca6e85c24..8de31b9c4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -37,6 +37,9 @@ jobs: version: 6.23.2 run_install: true + - name: Prepare Build + run: pnpm build + - name: Automatic GitHub Release uses: justincy/github-action-npm-release@2.0.1 id: release @@ -83,7 +86,7 @@ jobs: if: ${{ needs.publish.outputs.published == 'true' }} strategy: matrix: - repository: [Zapper-fi/zapper-api] + repository: [Zapper-fi/zapper-api] steps: - name: Checkout ${{ matrix.repository }} uses: actions/checkout@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dcc1d1a99..ee3cabc8c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,9 +32,6 @@ jobs: version: 6.23.2 run_install: true - - name: Prepare Build - run: pnpm build - - name: Prepare Release run: pnpm release