Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update root project for Angular 15 support #179

Merged
merged 22 commits into from
Mar 17, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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"
}
}