Update default runtime to node16 (#118)
* Update default runtime to node16 * update dependencies * 2.0.0
This commit is contained in:
2
.github/workflows/daily.yml
vendored
2
.github/workflows/daily.yml
vendored
@@ -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
|
||||
|
||||
@@ -1 +1 @@
|
||||
FROM node:12
|
||||
FROM node:16
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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
337
dist/index.js
vendored
File diff suppressed because one or more lines are too long
5272
package-lock.json
generated
5272
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
18
package.json
18
package.json
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user