Skip to content

Commit

Permalink
Merge branch 'master' into mp/stringify-symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
PodaruDragos authored Oct 25, 2023
2 parents e28ce54 + 5d3d62a commit 0319d16
Show file tree
Hide file tree
Showing 22 changed files with 543 additions and 11,202 deletions.
36 changes: 11 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,35 +7,21 @@ on:
pull_request:

jobs:
browser:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: nuget/setup-nuget@v1
- uses: actions/setup-node@v1
with:
node-version: 16
- run: npm install
- run: nuget install Selenium.WebDriver.IEDriver -Version 4.0.0.1
- run: npm run test:browser
env:
BROWSER: ie

Testing:
name: Unit Tests
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 15.x]
node-version: [18.x, 20.x]
ts-project: [src/tsconfig.json, src/tsconfig-es6.json]
env:
TS_NODE_PROJECT: ${{ matrix.ts-project }}

steps:
- name: Checkout Project
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # renovate: tag=v2
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561 # renovate: tag=v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
Expand All @@ -45,7 +31,7 @@ jobs:
- name: Run tests
run: npm test --coverage
- name: Store code coverage report
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # renovate: tag=v2
uses: actions/upload-artifact@v3
with:
name: coverage
path: coverage/
Expand All @@ -55,16 +41,16 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 15.x, 16.x]
node-version: [18.x, 20.x]
ts-project: [src/tsconfig.json, src/tsconfig-es6.json]
env:
TS_NODE_PROJECT: ${{ matrix.ts-project }}

steps:
- name: Checkout Project
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # renovate: tag=v2
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561 # renovate: tag=v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
Expand All @@ -79,16 +65,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # renovate: tag=v2
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Download Coverage report
uses: actions/download-artifact@f023be2c48cc18debc3bacd34cb396e0295e2869 # renovate: tag=v2
uses: actions/download-artifact@v3
with:
name: coverage
path: coverage/
- name: Codecov Upload
uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # renovate: tag=v2
uses: codecov/codecov-action@v3
with:
directory: coverage/
fail_ci_if_error: true
fail_ci_if_error: true
38 changes: 38 additions & 0 deletions .github/workflows/readiing-time.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Reading Time

on:
workflow_dispatch:
push:
branches:
- master
paths:
- "**.md"

jobs:
calculate-reading-time:
runs-on: ubuntu-latest
name: Calculate Reading Time
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Calculate & Prepend Reading Time
uses: harunrst/[email protected]
with:
strategy: all

- name: Commit Changes
uses: EndBug/add-and-commit@v9
with:
message: Edited markdown files with reading times.
push: false

- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
title: Update markdown files with reading time.
body: Auto-generated Pull Request by [reading-time-action](https://github.com/harunrst/reading-time-action).
branch: reading-time-action
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ docs
wiki
gulpfile.js
bower.json
karma.conf.js
mocha.opts
tsconfig.json
typings.json
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

### Fixed
property injection tagged as @optional no longer overrides default values with `undefined`.

## [6.0.2]

Expand All @@ -19,9 +20,16 @@ Brought tests up to 100% Code Coverage

### Changed
LazyIdentfier Tests
Removed browser test pipeline, browserify, karma (#1542)
Update all dependencies except typescript (#1531)

### Fixed
Less than 100% code coverage
Use default class property for @optional injected properties (#1467)
Remove circular import (#1516)
Fix strict type checking on @unmanaged decorator (#1499)
Fix typo (LazyServiceIdentifer -> LazyServiceIdentifier) (#1483)
Fix typo (circular dependency error message) (#1485)

## [6.0.1] - 2021-10-14
### Added
Expand Down
41 changes: 0 additions & 41 deletions karma.conf.js

This file was deleted.

Loading

0 comments on commit 0319d16

Please sign in to comment.