Skip to content

Commit 0b7c999

Browse files
authored
Merge pull request #179 from sagarchikane/master
Update root project for Angular 15 support
2 parents 57f1347 + 1ca6ad5 commit 0b7c999

30 files changed

Lines changed: 25786 additions & 30634 deletions

.github/workflows/main.yml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,29 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v2-beta
11+
- name: "Clone Repository"
12+
uses: actions/checkout@v3
1213
with:
1314
fetch-depth: 1
14-
- uses: preactjs/compressed-size-action@v1
15+
16+
- name: "Install Node"
17+
uses: actions/setup-node@v3.6.0
18+
with:
19+
node-version: '18'
20+
21+
- name: "Install Project Dependencies"
22+
shell: bash
23+
run: npm install
24+
25+
- name: "Run Project unit tests"
26+
shell: bash
27+
run: |
28+
Xvfb -ac :99 -screen 0 1280x1024x16 &
29+
export DISPLAY=:99
30+
npm run testci:mobxangular
31+
32+
- name: "Compare bundle sizes"
33+
uses: preactjs/compressed-size-action@2.5.0
1534
with:
1635
repo-token: "${{ secrets.GITHUB_TOKEN }}"
36+
build-script: "build:mobx-angular"

angular.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"prefix": "mobx",
1111
"architect": {
1212
"build": {
13-
"builder": "@angular-devkit/build-ng-packagr:build",
13+
"builder": "@angular-devkit/build-angular:ng-packagr",
1414
"options": {
1515
"tsConfig": "projects/mobx-angular/tsconfig.lib.json",
1616
"project": "projects/mobx-angular/ng-package.json"
@@ -680,6 +680,5 @@
680680
},
681681
"cli": {
682682
"analytics": false
683-
},
684-
"defaultProject": "mobx-angular"
683+
}
685684
}

0 commit comments

Comments
 (0)