From f7f9c66557f061ec134c75b183987b77c16547c0 Mon Sep 17 00:00:00 2001 From: mazen-r Date: Mon, 21 Oct 2024 12:15:50 +0300 Subject: [PATCH] decouple build steps --- .github/workflows/publish.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index e1090fc..f872234 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -13,13 +13,13 @@ jobs: - name: Clone repository uses: actions/checkout@v3 - - name: Build package + - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: 20 - run: | - npm install - npm run build + + - run: npm install + - run: npm build - name: Publish to NPM run: |