Update default runtime to node16 (#118)

* Update default runtime to node16

* update dependencies

* 2.0.0
This commit is contained in:
Naoki Oketani
2022-03-26 15:31:24 +09:00
committed by GitHub
parent 6818f639a6
commit e3662da326
7 changed files with 2650 additions and 2985 deletions

View File

@@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- name: install dependencies
run: npm ci
- uses: oke-py/npm-audit-action@v1.8.4
- uses: oke-py/npm-audit-action@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
issue_assignees: oke-py

View File

@@ -1 +1 @@
FROM node:12
FROM node:16

View File

@@ -63,7 +63,7 @@ jobs:
- uses: actions/checkout@v2
- name: install dependencies
run: npm ci
- uses: oke-py/npm-audit-action@v1.8.4
- uses: oke-py/npm-audit-action@v2
with:
audit_level: moderate
github_token: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -50,7 +50,7 @@ outputs:
npm_audit:
description: 'The output of the npm audit report in a text format'
runs:
using: 'node12'
using: 'node16'
main: 'dist/index.js'
branding:
icon: 'search'

337
dist/index.js vendored

File diff suppressed because one or more lines are too long

5272
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"name": "npm-audit-action",
"version": "1.8.4",
"version": "2.0.0",
"private": true,
"description": "GitHub Action to run `npm audit`",
"main": "lib/main.js",
@@ -29,18 +29,18 @@
"@actions/core": "^1.6.0",
"@actions/github": "^5.0.0",
"@octokit/rest": "^18.12.0",
"axios": "^0.23.0",
"axios": "^0.26.1",
"strip-ansi": "^6.0.1"
},
"devDependencies": {
"@types/jest": "^27.0.2",
"@types/node": "^14.17.27",
"@typescript-eslint/parser": "^4.31.2",
"@vercel/ncc": "^0.31.1",
"eslint": "^7.32.0",
"eslint-plugin-github": "^4.3.2",
"eslint-plugin-jest": "^25.2.1",
"graphql": "^15.6.1",
"@types/node": "^16.0.0",
"@typescript-eslint/parser": "^5.16.0",
"@vercel/ncc": "^0.33.3",
"eslint": "^8.0.0",
"eslint-plugin-github": "^4.3.6",
"eslint-plugin-jest": "^26.0.0",
"graphql": "^16.3.0",
"jest": "^27.2.5",
"jest-circus": "^27.2.5",
"js-yaml": "^4.0.0",