diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml deleted file mode 100644 index 9cb3742..0000000 --- a/.github/workflows/codeql.yml +++ /dev/null @@ -1,76 +0,0 @@ -# For most projects, this workflow file will not need changing; you simply need -# to commit it to your repository. -# -# You may wish to alter this file to override the set of languages analyzed, -# or to provide custom queries or build logic. -# -# ******** NOTE ******** -# We have attempted to detect the languages in your repository. Please check -# the `language` matrix defined below to confirm you have the correct set of -# supported CodeQL languages. -# -name: "CodeQL" - -on: - push: - branches: [ "master" ] - pull_request: - # The branches below must be a subset of the branches above - branches: [ "master" ] - schedule: - - cron: '22 11 * * 4' - -jobs: - analyze: - name: Analyze - runs-on: ubuntu-latest - permissions: - actions: read - contents: read - security-events: write - - strategy: - fail-fast: false - matrix: - language: [ 'javascript' ] - # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] - # Use only 'java' to analyze code written in Java, Kotlin or both - # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both - # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support - - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v2 - with: - languages: ${{ matrix.language }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - - # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs - # queries: security-extended,security-and-quality - - - # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java). - # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v2 - - # ℹī¸ Command-line programs to run using the OS shell. - # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun - - # If the Autobuild fails above, remove it and uncomment the following three lines. - # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. - - # - run: | - # echo "Run, Build Application using script" - # ./location_of_script_within_repo/buildscript.sh - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 - with: - category: "/language:${{matrix.language}}" diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index c6ac5fa..166cdd8 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -13,4 +13,4 @@ jobs: uses: node-modules/github-actions/.github/workflows/node-test-mysql.yml@master with: os: 'ubuntu-latest' - version: '16.17.0, 16, 18, 20' + version: '16.17.0, 16, 18, 20, 22' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a4e1158..bfb954e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,9 +7,7 @@ on: jobs: release: name: Node.js - uses: node-modules/github-actions/.github/workflows/node-release.yml@master + uses: ali-sdk/github-actions/.github/workflows/node-release.yml@master secrets: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} GIT_TOKEN: ${{ secrets.GIT_TOKEN }} - with: - checkTest: false diff --git a/README.md b/README.md index 73de8cb..30f5b3e 100644 --- a/README.md +++ b/README.md @@ -436,14 +436,8 @@ const row = await db.get('table-name', { deletedAt: new db.literals.Literal('IS [MIT](LICENSE) - - ## Contributors -|[
fengmk2](https://github.com/fengmk2)
|[
dead-horse](https://github.com/dead-horse)
|[
semantic-release-bot](https://github.com/semantic-release-bot)
|[
AntiMoron](https://github.com/AntiMoron)
|[
nodejh](https://github.com/nodejh)
|[
fangk](https://github.com/fangk)
| -| :---: | :---: | :---: | :---: | :---: | :---: | -[
xujihui1985](https://github.com/xujihui1985)
|[
csbun](https://github.com/csbun)
|[
popomore](https://github.com/popomore)
|[
hoythan](https://github.com/hoythan)
|[
deadhorse123](https://github.com/deadhorse123)
|[
killagu](https://github.com/killagu)
- -This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Sat Mar 04 2023 18:57:33 GMT+0800`. +[![Contributors](https://contrib.rocks/image?repo=ali-sdk/ali-rds)](https://github.com/ali-sdk/ali-rds/graphs/contributors) - +Made with [contributors-img](https://contrib.rocks). diff --git a/package.json b/package.json index f598fb5..a0d3aed 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,6 @@ "lib" ], "scripts": { - "contributor": "git-contributor", "test": "egg-bin test", "ci": "npm run lint && egg-bin cov && npm run prepublishOnly", "lint": "eslint src test --cache", @@ -26,8 +25,7 @@ "@types/node": "^20.2.5", "egg-bin": "^6.1.2", "eslint": "^8.29.0", - "eslint-config-egg": "^12.1.0", - "git-contributor": "^2.0.0", + "eslint-config-egg": "14", "mm": "^3.3.0", "typescript": "^5.1.3" },