Skip to content

Commit

Permalink
Feature/angular 17 (#640)
Browse files Browse the repository at this point in the history
* Update to angular 17

* Update peer dependencies

* fixing e2e

* chrome version

* moving to playwrite 1

* playwright 2

* playwright 3

* playwrite 4

* playwrite 5

* playwrite 6

* playwrite 7

* playwrite 7

* playwrite 8

* playwrite 9

* playwrite 10

* playwrite 11

* playwrite 12

* playwrite 13

* playwrite 14

* playwrite 15

* changelog update

---------

Co-authored-by: Henrik Herbst Grubbe <[email protected]>
Co-authored-by: Vlad Ioffe <[email protected]>
  • Loading branch information
3 people authored Dec 10, 2023
1 parent 8df2948 commit 5d57305
Show file tree
Hide file tree
Showing 28 changed files with 7,001 additions and 5,508 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,14 @@ name: CI

on: [pull_request]

env:
CI: true

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Chrome Update
run: |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list
sudo apt-get update
sudo apt-get install google-chrome-stable
google-chrome --version
- uses: actions/checkout@v2

- name: Cache node modules
Expand All @@ -33,14 +28,17 @@ jobs:
- name: install deps
run: npm ci

- name: Install Playwright Browsers
run: npx playwright install --with-deps

- name: run lint
run: npm run lint

- name: run unit tests
run: npm run test:ci

- name: run tests
run: npm run e2e:headless
- name: run e2e tests
run: npm run e2e

- name: run build test
run: npm run build:demo
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,7 @@ Thumbs.db

dist
bin.tgz
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Changelog
All notable changes to this project will be documented in this file.

# [17.0.0] (2023-12-10)

### Improvements
- Update to Angular 17 ([640](https://github.com/vlio20/angular-datepicker/pull/640)) closes [#638](https://github.com/vlio20/angular-datepicker/issues/638) - PR by [@henrikgrubbe](https://github.com/henrikgrubbe)
- Move from protractor to Playwrite ([640](https://github.com/vlio20/angular-datepicker/pull/640)) closes [#554](https://github.com/vlio20/angular-datepicker/issues/554)


# [16.0.0] (2023-05-20)

### Improvements
Expand Down
6 changes: 3 additions & 3 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,18 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "ng2-date-picker-demo:build"
"buildTarget": "ng2-date-picker-demo:build"
},
"configurations": {
"production": {
"browserTarget": "ng2-date-picker-demo:build:production"
"buildTarget": "ng2-date-picker-demo:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "ng2-date-picker-demo:build"
"buildTarget": "ng2-date-picker-demo:build"
}
},
"test": {
Expand Down
Loading

0 comments on commit 5d57305

Please sign in to comment.