File tree Expand file tree Collapse file tree 7 files changed +54
-60
lines changed
Expand file tree Collapse file tree 7 files changed +54
-60
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy to GitHub Pages
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ build-and-deploy :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout
15+ uses : actions/checkout@v4
16+
17+ - name : Setup Node.js
18+ uses : actions/setup-node@v4
19+ with :
20+ node-version : ' 18'
21+ cache : ' npm'
22+ cache-dependency-path : demo/package-lock.json
23+
24+ - name : Install dependencies
25+ run : |
26+ cd demo
27+ npm ci
28+
29+ - name : Build
30+ run : |
31+ cd demo
32+ npm run build
33+
34+ - name : Deploy to GitHub Pages
35+ uses : peaceiris/actions-gh-pages@v3
36+ if : github.ref == 'refs/heads/main'
37+ with :
38+ github_token : ${{ secrets.GITHUB_TOKEN }}
39+ publish_dir : ./demo/out
Original file line number Diff line number Diff line change 22
33A TypeScript SDK for interacting with PolkaVM Query (PVQ)
44
5- ## Installation
6-
7- ``` bash
8- # Install the published package
9- npm install @open-web3/pvq
10- # or
11- yarn add @open-web3/pvq
12- # or
13- pnpm add @open-web3/pvq
14-
15- # Or install from source
16- pnpm add pvq-sdk
17- ```
185
196## Quick Start
207
Original file line number Diff line number Diff line change 33# dependencies
44/node_modules
55/.pnp
6- .pnp. *
7- .yarn /*
8- ! .yarn /patches
9- ! .yarn /plugins
10- ! .yarn /releases
11- ! .yarn /versions
6+ .pnp.js
7+ .yarn /install-state.gz
128
139# testing
1410/coverage
2824npm-debug.log *
2925yarn-debug.log *
3026yarn-error.log *
31- .pnpm-debug.log *
3227
33- # env files (can opt-in for committing if needed)
34- .env *
28+ # local env files
29+ .env * .local
3530
3631# vercel
3732.vercel
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11import type { NextConfig } from "next" ;
22
33const nextConfig : NextConfig = {
4- /* config options here */
4+ output : 'export' ,
5+ trailingSlash : true ,
6+ images : {
7+ unoptimized : true
8+ } ,
9+ basePath : '' ,
10+ assetPrefix : '' ,
511} ;
612
713export default nextConfig ;
Original file line number Diff line number Diff line change 66 "dev" : " next dev" ,
77 "build" : " next build" ,
88 "start" : " next start" ,
9- "lint" : " next lint"
9+ "lint" : " next lint" ,
10+ "export" : " next build" ,
11+ "deploy" : " npm run build && touch out/.nojekyll"
1012 },
1113 "dependencies" : {
1214 "@open-web3/pvq" : " ^0.5.0" ,
Original file line number Diff line number Diff line change 1+ # This file tells GitHub Pages not to process this site with Jekyll
You can’t perform that action at this time.
0 commit comments