Skip to content

Commit

Permalink
Revert "feat: Upgrade to angular 16 (scttcper#995)"
Browse files Browse the repository at this point in the history
This reverts commit 38a641d.
  • Loading branch information
Xavier Asensio committed Nov 22, 2023
1 parent bed9eaf commit 523dbb5
Show file tree
Hide file tree
Showing 15 changed files with 1,418 additions and 2,909 deletions.
47 changes: 47 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
version: 2.1
orbs:
node: circleci/node@5
browser-tools: circleci/browser-tools@1
codecov: codecov/codecov@3
jobs:
test:
docker:
- image: cimg/node:current-browsers
environment:
CHROME_BIN: '/usr/bin/google-chrome'
steps:
- browser-tools/install-chrome
- checkout
- node/install-packages
- run:
name: test
command: npm run test:ci
- run:
name: lint
command: npm run lint
- codecov/upload
release:
executor:
name: node/default
tag: 'current'
steps:
- checkout
- node/install-packages
- run: npm run build
- run: cd dist && npx semantic-release

workflows:
version: 2
test_and_release:
# Run the test jobs first, then the release only when all the test jobs are successful
jobs:
- test
- release:
filters:
branches:
only:
- master
context:
- npm
requires:
- test
6 changes: 3 additions & 3 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
coverage:
range: "50..100"
status:
project: false
patch: false
project: no
patch: no
comment:
require_changes: true
require_changes: yes
behavior: once
50 changes: 0 additions & 50 deletions .github/workflows/ci.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
16
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
<a href="https://www.npmjs.org/package/ngx-toastr">
<img src="https://badge.fury.io/js/ngx-toastr.svg" alt="npm">
</a>
<a href="https://circleci.com/gh/scttcper/ngx-toastr">
<img src="https://circleci.com/gh/scttcper/ngx-toastr.svg?style=svg" alt="circleci">
</a>
<a href="https://codecov.io/github/scttcper/ngx-toastr">
<img src="https://img.shields.io/codecov/c/github/scttcper/ngx-toastr.svg" alt="codecov">
</a>
Expand Down Expand Up @@ -37,8 +40,7 @@ Latest version available for each version of Angular
| 13.2.1 | 10.x 11.x |
| 14.3.0 | 12.x 13.x |
| 15.2.2 | 14.x. |
| 16.2.0 | 15.x |
| current | >= 16.x |
| current | >= 15.x |

## Install

Expand Down
6 changes: 3 additions & 3 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ module.exports = function (config) {
autoWatch: true,
browsers: ['Chrome'],
customLaunchers: {
ChromeHeadlessCustom: {
base: 'ChromeHeadless',
flags: ['--no-sandbox', '--disable-gpu'],
ChromeCI: {
base: `${process.env['TRAVIS'] ? 'ChromeHeadless' : 'Chrome'}`,
flags: process.env['TRAVIS'] ? ['--no-sandbox'] : [],
},
},
singleRun: false,
Expand Down

0 comments on commit 523dbb5

Please sign in to comment.