Skip to content

Commit

Permalink
Merge pull request #179 from sagarchikane/master
Browse files Browse the repository at this point in the history
Update root project for Angular 15 support
  • Loading branch information
Chuckv01 committed Mar 17, 2023
2 parents 57f1347 + 1ca6ad5 commit 0b7c999
Show file tree
Hide file tree
Showing 30 changed files with 25,786 additions and 30,634 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,29 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2-beta
- name: "Clone Repository"
uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: preactjs/compressed-size-action@v1

- name: "Install Node"
uses: actions/setup-node@v3.6.0
with:
node-version: '18'

- name: "Install Project Dependencies"
shell: bash
run: npm install

- name: "Run Project unit tests"
shell: bash
run: |
Xvfb -ac :99 -screen 0 1280x1024x16 &
export DISPLAY=:99
npm run testci:mobxangular
- name: "Compare bundle sizes"
uses: preactjs/compressed-size-action@2.5.0
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
build-script: "build:mobx-angular"
5 changes: 2 additions & 3 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"prefix": "mobx",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"tsConfig": "projects/mobx-angular/tsconfig.lib.json",
"project": "projects/mobx-angular/ng-package.json"
Expand Down Expand Up @@ -680,6 +680,5 @@
},
"cli": {
"analytics": false
},
"defaultProject": "mobx-angular"
}
}

0 comments on commit 0b7c999

Please sign in to comment.