Skip to content

Commit 8d48ef5

Browse files
committed
v1.0.6 - update for Angular 16, fix for Github Actions build, branch rename
1 parent dc0da98 commit 8d48ef5

File tree

3 files changed

+14
-16
lines changed

3 files changed

+14
-16
lines changed

.circleci/config.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,12 @@ jobs:
2525
- run: cd src && npm run test
2626
- run: cd src/dist && sudo npm link
2727

28-
- run: sudo -E npm install -g @angular/cli@next
28+
- run: sudo -E npm install -g @angular/cli
2929
- run: sudo -E ng new your-angular-project --defaults
3030
- run: cd your-angular-project && sudo -E npm link angular-cli-ghpages
3131
- run: cd your-angular-project && sudo -E ng add angular-cli-ghpages
3232
- run: cd your-angular-project && sudo -E ng deploy --repo="$GITHUB_ORG/$NAME.git" --name="$GITHUB_NAME" --email="$GITHUB_EMAIL" --cname=angular-cli-ghpages.angular.schule
3333

34-
3534
workflows:
3635
version: 2
3736
build_and_deploy:
@@ -40,4 +39,4 @@ workflows:
4039
filters:
4140
branches:
4241
only:
43-
- master
42+
- main

.github/workflows/main.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
name: Build and test
22

3-
on: [push]
3+
on:
4+
push:
5+
branches: [main]
46

57
jobs:
68
build-and-deploy:
79
runs-on: ubuntu-latest
810

911
steps:
10-
- name: Checkout
11-
uses: actions/checkout@v2
12-
13-
- name: Use Node.js 14.x
14-
uses: actions/setup-node@v1
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-node@v3
1514
with:
16-
node-version: 14.x
15+
node-version: 18
1716

1817
- name: Prepare
1918
run: |
@@ -25,7 +24,7 @@ jobs:
2524
npm link
2625
cd ..
2726
cd ..
28-
npm install -g @angular/cli@next
27+
npm install -g @angular/cli
2928
ng new your-angular-project --defaults
3029
cd your-angular-project
3130
npm link angular-cli-ghpages

src/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-cli-ghpages",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"description": "Deploy your Angular app to GitHub pages directly from the Angular CLI. (ng deploy)",
55
"main": "index.js",
66
"bin": {
@@ -55,8 +55,8 @@
5555
"homepage": "https://github.com/angular-schule/angular-cli-ghpages/#readme",
5656
"devDependencies": {
5757
"@angular-devkit/architect": ">= 0.900 < 0.1600",
58-
"@angular-devkit/core": "^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0",
59-
"@angular-devkit/schematics": "^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0",
58+
"@angular-devkit/core": "^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0",
59+
"@angular-devkit/schematics": "^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0",
6060
"@types/fs-extra": "^9.0.4",
6161
"@types/jest": "^26.0.15",
6262
"@types/node": "^14.14.7",
@@ -72,8 +72,8 @@
7272
},
7373
"peerDependencies": {
7474
"@angular-devkit/architect": ">= 0.900 < 0.1600",
75-
"@angular-devkit/core": "^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0",
76-
"@angular-devkit/schematics": "^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0"
75+
"@angular-devkit/core": "^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0",
76+
"@angular-devkit/schematics": "^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
7777
},
7878
"dependencies": {
7979
"commander": "^3.0.0-0",

0 commit comments

Comments
 (0)