diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index bfe8ab1..4c603ca 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,17 +17,20 @@ 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:examples + run: npm run build - name: Upload production-ready build files uses: actions/upload-artifact@v3 with: name: production-files - path: ./examples/dist + path: ./dist deploy: name: Deploy diff --git a/package.json b/package.json index 3620382..69ecfed 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,6 @@ "dev": "cd example && yarn dev", "prepack": "yarn build", "build": "tsc && vite build", - "build:examples": "cd example && yarn build", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0" }, "devDependencies": {