build: update deps
Some checks failed
Build, Lint & Test Lib / Built, Lint and Test Library (push) Has been cancelled
Build, Lint & Test Lib / Angular latest (push) Has been cancelled
Build, Lint & Test Lib / Angular latest & Schematics Job (push) Has been cancelled
Build, Lint & Test Lib / Angular latest Standalone & Schematics Job (push) Has been cancelled
Build, Lint & Test Lib / Angular 16 & RxJs 6 (push) Has been cancelled
Build, Lint & Test Lib / Angular V16 (push) Has been cancelled
Docs / Build and Deploy Docs Job (push) Has been cancelled
Docs / Close Pull Request Job (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
Some checks failed
Build, Lint & Test Lib / Built, Lint and Test Library (push) Has been cancelled
Build, Lint & Test Lib / Angular latest (push) Has been cancelled
Build, Lint & Test Lib / Angular latest & Schematics Job (push) Has been cancelled
Build, Lint & Test Lib / Angular latest Standalone & Schematics Job (push) Has been cancelled
Build, Lint & Test Lib / Angular 16 & RxJs 6 (push) Has been cancelled
Build, Lint & Test Lib / Angular V16 (push) Has been cancelled
Docs / Build and Deploy Docs Job (push) Has been cancelled
Docs / Close Pull Request Job (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
This commit is contained in:
76
.github/workflows/build.yml
vendored
76
.github/workflows/build.yml
vendored
@@ -37,7 +37,7 @@ jobs:
|
||||
uses: coverallsapp/github-action@master
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
path-to-lcov: './coverage/angular-auth-oidc-client/lcov.info'
|
||||
path-to-lcov: './coverage/oidc-client-rx/lcov.info'
|
||||
|
||||
- name: Coveralls Finished
|
||||
uses: coverallsapp/github-action@master
|
||||
@@ -58,7 +58,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: angular_auth_oidc_client_artefact
|
||||
path: dist/angular-auth-oidc-client
|
||||
path: dist/oidc-client-rx
|
||||
|
||||
AngularLatestVersion:
|
||||
needs: build_job
|
||||
@@ -74,7 +74,7 @@ jobs:
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: angular_auth_oidc_client_artefact
|
||||
path: angular-auth-oidc-client-artefact
|
||||
path: oidc-client-rx-artefact
|
||||
|
||||
- name: Install AngularCLI globally
|
||||
run: sudo npm install -g @angular/cli
|
||||
@@ -83,21 +83,21 @@ jobs:
|
||||
run: ng version
|
||||
|
||||
- name: Create Angular Project
|
||||
run: sudo ng new angular-auth-oidc-client-test --skip-git
|
||||
run: sudo ng new oidc-client-rx-test --skip-git
|
||||
|
||||
- name: Npm Install & Install Library from local artefact
|
||||
run: |
|
||||
sudo cp -R angular-auth-oidc-client-artefact angular-auth-oidc-client-test/
|
||||
cd angular-auth-oidc-client-test
|
||||
sudo cp -R oidc-client-rx-artefact oidc-client-rx-test/
|
||||
cd oidc-client-rx-test
|
||||
sudo npm install --unsafe-perm=true
|
||||
sudo ng add ./angular-auth-oidc-client-artefact --authority-url-or-tenant-id "my-authority-url" --flow-type "OIDC Code Flow PKCE using refresh tokens" --use-local-package=true --skip-confirmation
|
||||
sudo ng add ./oidc-client-rx-artefact --authority-url-or-tenant-id "my-authority-url" --flow-type "OIDC Code Flow PKCE using refresh tokens" --use-local-package=true --skip-confirmation
|
||||
|
||||
- name: Test Angular Application
|
||||
working-directory: ./angular-auth-oidc-client-test
|
||||
working-directory: ./oidc-client-rx-test
|
||||
run: npm test -- --watch=false --browsers=ChromeHeadless
|
||||
|
||||
- name: Build Angular Application
|
||||
working-directory: ./angular-auth-oidc-client-test
|
||||
working-directory: ./oidc-client-rx-test
|
||||
run: sudo npm run build
|
||||
|
||||
AngularLatestVersionWithSchematics:
|
||||
@@ -114,7 +114,7 @@ jobs:
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: angular_auth_oidc_client_artefact
|
||||
path: angular-auth-oidc-client-artefact
|
||||
path: oidc-client-rx-artefact
|
||||
|
||||
- name: Install AngularCLI globally
|
||||
run: sudo npm install -g @angular/cli
|
||||
@@ -123,21 +123,21 @@ jobs:
|
||||
run: ng version
|
||||
|
||||
- name: Create Angular Project
|
||||
run: sudo ng new angular-auth-oidc-client-test --skip-git
|
||||
run: sudo ng new oidc-client-rx-test --skip-git
|
||||
|
||||
- name: Npm Install & Install Library from local artefact
|
||||
run: |
|
||||
sudo cp -R angular-auth-oidc-client-artefact angular-auth-oidc-client-test/
|
||||
cd angular-auth-oidc-client-test
|
||||
sudo cp -R oidc-client-rx-artefact oidc-client-rx-test/
|
||||
cd oidc-client-rx-test
|
||||
sudo npm install --unsafe-perm=true
|
||||
sudo ng add ./angular-auth-oidc-client-artefact --authority-url-or-tenant-id "my-authority-url" --flow-type "Default config" --use-local-package=true --skip-confirmation
|
||||
sudo ng add ./oidc-client-rx-artefact --authority-url-or-tenant-id "my-authority-url" --flow-type "Default config" --use-local-package=true --skip-confirmation
|
||||
|
||||
- name: Test Angular Application
|
||||
working-directory: ./angular-auth-oidc-client-test
|
||||
working-directory: ./oidc-client-rx-test
|
||||
run: npm test -- --watch=false --browsers=ChromeHeadless
|
||||
|
||||
- name: Build Angular Application
|
||||
working-directory: ./angular-auth-oidc-client-test
|
||||
working-directory: ./oidc-client-rx-test
|
||||
run: sudo npm run build
|
||||
|
||||
AngularLatestVersionWithNgModuleSchematics:
|
||||
@@ -154,7 +154,7 @@ jobs:
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: angular_auth_oidc_client_artefact
|
||||
path: angular-auth-oidc-client-artefact
|
||||
path: oidc-client-rx-artefact
|
||||
|
||||
- name: Install AngularCLI globally
|
||||
run: sudo npm install -g @angular/cli
|
||||
@@ -163,21 +163,21 @@ jobs:
|
||||
run: ng version
|
||||
|
||||
- name: Create Angular Project
|
||||
run: sudo ng new angular-auth-oidc-client-test --skip-git --standalone=false
|
||||
run: sudo ng new oidc-client-rx-test --skip-git --standalone=false
|
||||
|
||||
- name: Npm Install & Install Library from local artefact
|
||||
run: |
|
||||
sudo cp -R angular-auth-oidc-client-artefact angular-auth-oidc-client-test/
|
||||
cd angular-auth-oidc-client-test
|
||||
sudo cp -R oidc-client-rx-artefact oidc-client-rx-test/
|
||||
cd oidc-client-rx-test
|
||||
sudo npm install --unsafe-perm=true
|
||||
sudo ng add ./angular-auth-oidc-client-artefact --authority-url-or-tenant-id "my-authority-url" --flow-type "OIDC Code Flow PKCE using refresh tokens" --use-local-package=true --skip-confirmation
|
||||
sudo ng add ./oidc-client-rx-artefact --authority-url-or-tenant-id "my-authority-url" --flow-type "OIDC Code Flow PKCE using refresh tokens" --use-local-package=true --skip-confirmation
|
||||
|
||||
- name: Test Angular Application
|
||||
working-directory: ./angular-auth-oidc-client-test
|
||||
working-directory: ./oidc-client-rx-test
|
||||
run: npm test -- --watch=false --browsers=ChromeHeadless
|
||||
|
||||
- name: Build Angular Application
|
||||
working-directory: ./angular-auth-oidc-client-test
|
||||
working-directory: ./oidc-client-rx-test
|
||||
run: sudo npm run build
|
||||
|
||||
Angular16VersionWithRxJs6:
|
||||
@@ -194,7 +194,7 @@ jobs:
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: angular_auth_oidc_client_artefact
|
||||
path: angular-auth-oidc-client-artefact
|
||||
path: oidc-client-rx-artefact
|
||||
|
||||
- name: Install AngularCLI globally
|
||||
run: sudo npm install -g @angular/cli@16
|
||||
@@ -203,25 +203,25 @@ jobs:
|
||||
run: ng version
|
||||
|
||||
- name: Create Angular Project
|
||||
run: sudo ng new angular-auth-oidc-client-test --skip-git
|
||||
run: sudo ng new oidc-client-rx-test --skip-git
|
||||
|
||||
- name: npm install RxJs 6
|
||||
working-directory: ./angular-auth-oidc-client-test
|
||||
working-directory: ./oidc-client-rx-test
|
||||
run: sudo npm install rxjs@6.5.3
|
||||
|
||||
- name: Npm Install & Install Library from local artefact
|
||||
run: |
|
||||
sudo cp -R angular-auth-oidc-client-artefact angular-auth-oidc-client-test/
|
||||
cd angular-auth-oidc-client-test
|
||||
sudo cp -R oidc-client-rx-artefact oidc-client-rx-test/
|
||||
cd oidc-client-rx-test
|
||||
sudo npm install --unsafe-perm=true
|
||||
sudo ng add ./angular-auth-oidc-client-artefact --authority-url-or-tenant-id "my-authority-url" --flow-type "OIDC Code Flow PKCE using refresh tokens" --use-local-package=true --skip-confirmation
|
||||
sudo ng add ./oidc-client-rx-artefact --authority-url-or-tenant-id "my-authority-url" --flow-type "OIDC Code Flow PKCE using refresh tokens" --use-local-package=true --skip-confirmation
|
||||
|
||||
- name: Test Angular Application
|
||||
working-directory: ./angular-auth-oidc-client-test
|
||||
working-directory: ./oidc-client-rx-test
|
||||
run: npm test -- --watch=false --browsers=ChromeHeadless
|
||||
|
||||
- name: Build Angular Application
|
||||
working-directory: ./angular-auth-oidc-client-test
|
||||
working-directory: ./oidc-client-rx-test
|
||||
run: sudo npm run build
|
||||
|
||||
LibWithAngularV16:
|
||||
@@ -238,7 +238,7 @@ jobs:
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: angular_auth_oidc_client_artefact
|
||||
path: angular-auth-oidc-client-artefact
|
||||
path: oidc-client-rx-artefact
|
||||
|
||||
- name: Install AngularCLI globally
|
||||
run: sudo npm install -g @angular/cli@16
|
||||
@@ -247,19 +247,19 @@ jobs:
|
||||
run: ng version
|
||||
|
||||
- name: Create Angular Project
|
||||
run: sudo ng new angular-auth-oidc-client-test --skip-git
|
||||
run: sudo ng new oidc-client-rx-test --skip-git
|
||||
|
||||
- name: Npm Install & Install Library from local artefact
|
||||
run: |
|
||||
sudo cp -R angular-auth-oidc-client-artefact angular-auth-oidc-client-test/
|
||||
cd angular-auth-oidc-client-test
|
||||
sudo cp -R oidc-client-rx-artefact oidc-client-rx-test/
|
||||
cd oidc-client-rx-test
|
||||
sudo npm install --unsafe-perm=true
|
||||
sudo ng add ./angular-auth-oidc-client-artefact --authority-url-or-tenant-id "my-authority-url" --flow-type "OIDC Code Flow PKCE using refresh tokens" --use-local-package=true --skip-confirmation
|
||||
sudo ng add ./oidc-client-rx-artefact --authority-url-or-tenant-id "my-authority-url" --flow-type "OIDC Code Flow PKCE using refresh tokens" --use-local-package=true --skip-confirmation
|
||||
|
||||
- name: Test Angular Application
|
||||
working-directory: ./angular-auth-oidc-client-test
|
||||
working-directory: ./oidc-client-rx-test
|
||||
run: npm test -- --watch=false --browsers=ChromeHeadless
|
||||
|
||||
- name: Build Angular Application
|
||||
working-directory: ./angular-auth-oidc-client-test
|
||||
working-directory: ./oidc-client-rx-test
|
||||
run: sudo npm run build
|
||||
|
||||
6
.github/workflows/deploy-docs.yml
vendored
6
.github/workflows/deploy-docs.yml
vendored
@@ -29,11 +29,11 @@ jobs:
|
||||
|
||||
- name: Installing Dependencies for docs - in docs folder
|
||||
run: sudo npm install
|
||||
working-directory: docs/site/angular-auth-oidc-client
|
||||
working-directory: docs/site/oidc-client-rx
|
||||
|
||||
- name: Building Documentation
|
||||
run: sudo npm run build
|
||||
working-directory: docs/site/angular-auth-oidc-client
|
||||
working-directory: docs/site/oidc-client-rx
|
||||
|
||||
- name: Build And Deploy
|
||||
if: ${{ github.actor == 'damienbod' || github.actor == 'FabianGosebrink' }}
|
||||
@@ -44,7 +44,7 @@ jobs:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
|
||||
action: 'upload'
|
||||
###### Repository/Build Configurations - These values can be configured to match you app requirements. ######
|
||||
app_location: '/docs/site/angular-auth-oidc-client' # App source code path
|
||||
app_location: '/docs/site/oidc-client-rx' # App source code path
|
||||
app_artifact_location: 'build' # Built app content directory - optional
|
||||
###### End of Repository/Build Configurations ######
|
||||
|
||||
|
||||
27
.github/workflows/playwright.yml
vendored
Normal file
27
.github/workflows/playwright.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
name: Playwright Tests
|
||||
on:
|
||||
push:
|
||||
branches: [ main, master ]
|
||||
pull_request:
|
||||
branches: [ main, master ]
|
||||
jobs:
|
||||
test:
|
||||
timeout-minutes: 60
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: lts/*
|
||||
- name: Install dependencies
|
||||
run: npm install -g pnpm && pnpm install
|
||||
- name: Install Playwright Browsers
|
||||
run: pnpm exec playwright install --with-deps
|
||||
- name: Run Playwright tests
|
||||
run: pnpm exec playwright test
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: ${{ !cancelled() }}
|
||||
with:
|
||||
name: playwright-report
|
||||
path: playwright-report/
|
||||
retention-days: 30
|
||||
Reference in New Issue
Block a user