forked from dominictarr/hashlru
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Updated GitHub Actions workflows for better compatibility and automation. - Modified `.gitignore` to exclude `package-lock.json`. - **Documentation** - Updated the CHANGELOG with version history and notes. - Refreshed the README, including contributor information and specification timestamps. - **Bug Fixes** - Adjusted the matrix for node versions and operating systems in GitHub Actions workflow. - Updated the release trigger to automate releases on pushes to the master branch. - Changed the source repository for the Node.js release action. - Added `package-lock.json` to the `.gitignore` file. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information
Showing
8 changed files
with
63 additions
and
173 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,16 @@ | ||
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | ||
|
||
name: Node.js CI | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
branches: [ master ] | ||
|
||
pull_request: | ||
branches: | ||
- main | ||
- master | ||
schedule: | ||
- cron: '0 2 * * *' | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
node-version: [8, 10, 12, 14, 16] | ||
os: [ubuntu-latest] | ||
|
||
steps: | ||
- name: Checkout Git Source | ||
uses: actions/checkout@v2 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Install Dependencies | ||
run: npm i | ||
|
||
- name: Continuous Integration | ||
run: npm run ci | ||
|
||
- name: Code Coverage | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
Job: | ||
name: Node.js | ||
uses: node-modules/github-actions/.github/workflows/node-test.yml@master | ||
with: | ||
os: 'ubuntu-latest' | ||
version: '8, 10, 12, 14, 16, 18, 20, 21' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,13 @@ | ||
name: Release | ||
|
||
on: | ||
# 合并后自动发布 | ||
push: | ||
branches: [ master ] | ||
|
||
# 手动发布 | ||
workflow_dispatch: {} | ||
|
||
jobs: | ||
release: | ||
name: Node.js | ||
uses: artusjs/github-actions/.github/workflows/node-release.yml@v1 | ||
uses: node-modules/github-actions/.github/workflows/node-release.yml@master | ||
secrets: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
GIT_TOKEN: ${{ secrets.GIT_TOKEN }} | ||
with: | ||
checkTest: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
node_modules | ||
coverage | ||
|
||
test/fixtures/ts/**/*.js | ||
test/fixtures/ts/**/*.js | ||
package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,48 @@ | |
### Features | ||
|
||
* add reset method ([#10](https://github.com/node-modules/ylru/issues/10)) ([39ebcec](https://github.com/node-modules/ylru/commit/39ebcecbac34f8efd04959bb42cc6b88a9d2bd8a)) | ||
|
||
--- | ||
|
||
|
||
1.3.2 / 2022-03-17 | ||
================== | ||
|
||
**others** | ||
* [[`eda13ec`](http://github.com/node-modules/ylru/commit/eda13ec31cb40d28cb00dea0369fc5c657aecb9c)] - test: update toolchains, add tsd test cases (raohai.rh <<[email protected]>>) | ||
* [[`b683526`](http://github.com/node-modules/ylru/commit/b68352659a95158a54f72f3ac502cd9881759d00)] - 🤖 TEST: Create codeql-analysis.yml (#7) (fengmk2 <<[email protected]>>) | ||
* [[`db06032`](http://github.com/node-modules/ylru/commit/db060326f526aa4aef23a77f5185e36922f4a178)] - 🤖 TEST: Run on github action (#6) (fengmk2 <<[email protected]>>) | ||
|
||
1.3.1 / 2022-03-16 | ||
================== | ||
|
||
**fixes** | ||
* [[`18f576e`](http://github.com/node-modules/ylru/commit/18f576eb12ce456a7af419b68bd17d74bf567de6)] - fix: module declares (#5) (陆沉 <<[email protected]>>) | ||
|
||
1.3.0 / 2022-03-16 | ||
================== | ||
|
||
**features** | ||
* [[`6ed8fa0`](http://github.com/node-modules/ylru/commit/6ed8fa004e1a0d634ba8d277f70933a7a8945cf2)] - feat: add d.ts (#4) (vagusX <<[email protected]>>) | ||
|
||
1.2.1 / 2018-07-11 | ||
================== | ||
|
||
**others** | ||
* [[`475abb0`](http://github.com/node-modules/ylru/commit/475abb0e9c787fd65d7c3dd3d2d74d67560b0bec)] - perf: only call Date.now() when necessary (#3) (Yiyu He <<[email protected]>>) | ||
|
||
1.2.0 / 2017-07-18 | ||
================== | ||
|
||
* feat: support lru.keys (#2) | ||
|
||
1.1.0 / 2017-07-04 | ||
================== | ||
|
||
* feat: support get with maxAge (#1) | ||
|
||
1.0.0 / 2016-12-29 | ||
================== | ||
|
||
* init version | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters