From 404010cd7b07ac5ebb8e3d22e55089ea99b5c34d Mon Sep 17 00:00:00 2001 From: Faraz Shaikh Date: Sat, 21 Sep 2024 23:47:57 +0400 Subject: [PATCH] Update actions --- .github/workflows/deploy.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8710625..b800a24 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,20 +17,17 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 - - name: Navigate to examples directory - run: cd examples - - name: Install dependencies - uses: bahmutov/npm-install@v1 - - - name: Build project - run: npm run build + working-directory: ./examples + run: | + npm install + npm run build - name: Upload production-ready build files uses: actions/upload-artifact@v3 with: name: production-files - path: ./dist + path: ./examples/dist deploy: name: Deploy