Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
refactor: add server for local file service
Browse files Browse the repository at this point in the history
  • Loading branch information
neko-para committed Aug 4, 2023
1 parent 4d278db commit 229eeac
Show file tree
Hide file tree
Showing 17 changed files with 1,388 additions and 756 deletions.
25 changes: 10 additions & 15 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy GitHub Pages
name: Build test

on:
push:
Expand All @@ -24,18 +24,13 @@ jobs:
with:
node-version: 18

- name: Setup node_modules
run: npm ci
- name: Build webpage
run: |
npm ci
npm run build
- name: Build
run: npm run build

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
# If you're changing the branch from main,
# also change the `main` in `refs/heads/main`
# below accordingly.
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
- name: Build server
run: |
cd server
npm ci
npm run build
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
"scripts": {
"dev": "vite",
"build": "run-p type-check build-only",
"watch": "run-p type-check build-watch",
"preview": "vite preview",
"build-only": "vite build",
"build-watch": "vite build --watch",
"type-check": "vue-tsc --noEmit -p tsconfig.app.json --composite false"
},
"dependencies": {
Expand Down
Loading

0 comments on commit 229eeac

Please sign in to comment.