Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: '18.x'
- run: rm package-lock.json && npm install
node-version: '22.x'
- run: npm ci
- run: npm run build

- uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist/ndn-play
publish_dir: ./dist/ndn-play/browser
publish_branch: gh-pages
cname: play.ndn.today
force_orphan: true
force_orphan: true
22 changes: 11 additions & 11 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,15 @@
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"builder": "@angular/build:application",
"options": {
"outputPath": "dist/ndn-play",
"outputPath": {
"base": "dist/ndn-play"
},
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"polyfills": [
"src/polyfills.ts"
],
"tsConfig": "tsconfig.app.json",
"assets": [
"src/favicon.ico",
Expand All @@ -64,12 +67,11 @@
"src/styles.scss"
],
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
"namedChunks": true,
"browser": "src/main.ts"
},
"configurations": {
"production": {
Expand All @@ -84,8 +86,6 @@
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
Expand All @@ -102,7 +102,7 @@
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"builder": "@angular/build:dev-server",
"options": {
"buildTarget": "ndn-play:build"
},
Expand All @@ -113,7 +113,7 @@
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"builder": "@angular/build:extract-i18n",
"options": {
"buildTarget": "ndn-play:build"
}
Expand Down
1 change: 1 addition & 0 deletions api-extractor.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"@ndn/psync",
"@ndn/sync-api",
"@ndn/trust-schema",
"@ndn/quic-transport",
"@yoursunny/psync-bloom",
"wait-your-turn",
"@angular/core",
Expand Down
Loading