Skip to content

Commit 38a15c2

Browse files
committed
feat: 📌 add backwards compatibility to Angular version 9
1 parent 7983ece commit 38a15c2

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

.github/workflows/integration-test.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Integration Test
22

33
on:
4-
push:
5-
branches: [ main ]
64
pull_request:
75
branches: [ main ]
86

@@ -12,7 +10,7 @@ jobs:
1210

1311
strategy:
1412
matrix:
15-
angular-version: [12, 13]
13+
angular-version: [9, 10, 11, 12, 13]
1614

1715
steps:
1816
- name: ⤵️ Check out code from GitHub
@@ -23,13 +21,18 @@ jobs:
2321
with:
2422
node-version: 17.x
2523
cache: 'npm'
26-
- run: npm i -g npm@7
24+
- run: |
25+
npm i -g npm@7
26+
npm i -g npm-check-updates
2727
2828
- name: 🏗 Setup Angular Project Version ${{ matrix.angular-version }}
2929
run: |
3030
mkdir -p tmp
3131
cd tmp
3232
npx @angular/cli@${{ matrix.angular-version }} new --create-application --skip-install --defaults -g -t -s -S angular${{ matrix.angular-version }}
33+
cd angular${{ matrix.angular-version }}
34+
ncu --target minor -f /jasmine/ -u
35+
cd ../
3336
npm install --prefix angular${{ matrix.angular-version }}
3437
cd ../
3538

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
steps:
1111
- name: ⤵️ Check out code from GitHub
1212
uses: actions/checkout@v3
13+
with:
14+
persist-credentials: false
1315

1416
- name: 🏗 Setup node version
1517
uses: actions/setup-node@v3
@@ -26,6 +28,7 @@ jobs:
2628

2729
- name: 🚀 Release
2830
env:
31+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
2932
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3033
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3134
run: npx semantic-release

.github/workflows/unit-test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Unit Test
22

33
on:
4-
push:
5-
branches: [ main ]
64
pull_request:
75
branches: [ main ]
86

lib/builder/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
"builders.json"
2525
],
2626
"peerDependencies": {
27-
"@angular-devkit/architect": ">= 0.1202.17",
28-
"@angular-devkit/core": ">= 12.2.17",
29-
"@angular/cli": ">= 12.0.0",
27+
"@angular-devkit/architect": ">= 0.901.15",
28+
"@angular-devkit/core": ">= 9.1.15",
29+
"@angular/cli": ">= 9.1.15",
3030
"eslint": "*",
3131
"stylelint": "*",
3232
"typescript": "*"

0 commit comments

Comments
 (0)