Skip to content

Commit

Permalink
v1.0.6 - update for Angular 16, fix for Github Actions build, branch …
Browse files Browse the repository at this point in the history
…rename
  • Loading branch information
JohannesHoppe committed May 3, 2023
1 parent dc0da98 commit 8d48ef5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 16 deletions.
5 changes: 2 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,12 @@ jobs:
- run: cd src && npm run test
- run: cd src/dist && sudo npm link

- run: sudo -E npm install -g @angular/cli@next
- run: sudo -E npm install -g @angular/cli
- run: sudo -E ng new your-angular-project --defaults
- run: cd your-angular-project && sudo -E npm link angular-cli-ghpages
- run: cd your-angular-project && sudo -E ng add angular-cli-ghpages
- 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


workflows:
version: 2
build_and_deploy:
Expand All @@ -40,4 +39,4 @@ workflows:
filters:
branches:
only:
- master
- main
15 changes: 7 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
name: Build and test

on: [push]
on:
push:
branches: [main]

jobs:
build-and-deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Use Node.js 14.x
uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18

- name: Prepare
run: |
Expand All @@ -25,7 +24,7 @@ jobs:
npm link
cd ..
cd ..
npm install -g @angular/cli@next
npm install -g @angular/cli
ng new your-angular-project --defaults
cd your-angular-project
npm link angular-cli-ghpages
Expand Down
10 changes: 5 additions & 5 deletions src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-cli-ghpages",
"version": "1.0.5",
"version": "1.0.6",
"description": "Deploy your Angular app to GitHub pages directly from the Angular CLI. (ng deploy)",
"main": "index.js",
"bin": {
Expand Down Expand Up @@ -55,8 +55,8 @@
"homepage": "https://github.com/angular-schule/angular-cli-ghpages/#readme",
"devDependencies": {
"@angular-devkit/architect": ">= 0.900 < 0.1600",
"@angular-devkit/core": "^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0",
"@angular-devkit/schematics": "^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0",
"@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",
"@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",
"@types/fs-extra": "^9.0.4",
"@types/jest": "^26.0.15",
"@types/node": "^14.14.7",
Expand All @@ -72,8 +72,8 @@
},
"peerDependencies": {
"@angular-devkit/architect": ">= 0.900 < 0.1600",
"@angular-devkit/core": "^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0",
"@angular-devkit/schematics": "^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0"
"@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",
"@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"
},
"dependencies": {
"commander": "^3.0.0-0",
Expand Down

0 comments on commit 8d48ef5

Please sign in to comment.