File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 22
22
environment :
23
23
name : github-pages
24
24
url : ${{ steps.deployment.outputs.page_url }}
25
- runs-on : ubuntu-20.04
25
+ runs-on : ubuntu-latest
26
26
steps :
27
27
- name : Checkout
28
28
uses : actions/checkout@v4
37
37
run : |
38
38
npm run build
39
39
npm run genDocs
40
+ mkdir -p examples/typescript/dist
41
+ cp -r docs examples/typescript/dist
40
42
cd examples/typescript
41
- npm cache verify
42
43
npm install
43
44
npm run build
44
45
- name : Setup tmate session
Original file line number Diff line number Diff line change 6
6
"scripts" : {
7
7
"genDocs" : " cd ../.. && npm run genDocs && mkdir -p examples/typescript/dist && cp -r docs examples/typescript/dist && cd examples/typescript" ,
8
8
"dev" : " npm run clean && npm run genDocs && parcel src/index.html" ,
9
- "build" : " npm run clean && npm run genDocs && parcel build src/index.html --no-optimize --public-url ./" ,
9
+ "build" : " npm run clean && parcel build src/index.html --no-optimize --public-url ./" ,
10
10
"clean" : " rimraf dist .parcel-cache" ,
11
11
"test" : " echo \" Error: no test specified\" && exit 1"
12
12
},
You can’t perform that action at this time.
0 commit comments