Skip to content

Commit

Permalink
Update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
FarazzShaikh committed Sep 21, 2024
1 parent 15251da commit 1295345
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 1295345

Please sign in to comment.