mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-13 22:48:31 -05:00
chore: update ci
This commit is contained in:
parent
c12e1a0b6a
commit
88f2e1de2d
4 changed files with 118 additions and 7 deletions
24
.github/workflows/ci-lint.yml
vendored
Normal file
24
.github/workflows/ci-lint.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
name: CI Lint
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
ci-lint:
|
||||
name: Node Lint
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||
- name: Use Node
|
||||
uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2.5.2
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: Install
|
||||
run: yarn install --immutable
|
||||
- name: Format
|
||||
run: yarn format:check
|
||||
- name: Lint
|
||||
run: yarn lint
|
||||
- name: Lint Lockfile
|
||||
run: yarn lint:lockfile
|
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -22,10 +22,6 @@ jobs:
|
|||
node-version: ${{ matrix.node_version }}
|
||||
- name: Install
|
||||
run: yarn install --immutable
|
||||
- name: Format
|
||||
run: yarn format:check
|
||||
- name: Lint
|
||||
run: yarn lint
|
||||
- name: Build
|
||||
run: yarn build
|
||||
- name: Types
|
||||
|
|
|
@ -107,6 +107,7 @@
|
|||
"jest-config": "29.7.0",
|
||||
"jest-environment-node": "29.7.0",
|
||||
"jest-junit": "16.0.0",
|
||||
"lockfile-lint": "4.13.2",
|
||||
"nock": "13.5.0",
|
||||
"prettier": "3.2.4",
|
||||
"rimraf": "5.0.5",
|
||||
|
@ -145,6 +146,7 @@
|
|||
"pre:ci": "yarn run lint",
|
||||
"lint:ts": "yarn run type-check",
|
||||
"lint": "eslint \"**/*.{js,jsx,ts}\" --max-warnings 145 -c ./eslintrc.js",
|
||||
"lint:lockfile": "lockfile-lint --path yarn.lock --type yarn --allowed-hosts verdaccio npm yarn",
|
||||
"start": "yarn babel-node --extensions \".ts,.tsx\" src/lib/cli --inspect",
|
||||
"start:brk": "yarn babel-node --extensions \".ts,.tsx\" src/lib/cli --inspect-brk",
|
||||
"start:debug": "yarn node debug/bootstrap.js",
|
||||
|
|
95
yarn.lock
95
yarn.lock
|
@ -3726,6 +3726,16 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@yarnpkg/parsers@npm:^3.0.0-rc.48.1":
|
||||
version: 3.0.0
|
||||
resolution: "@yarnpkg/parsers@npm:3.0.0"
|
||||
dependencies:
|
||||
js-yaml: "npm:^3.10.0"
|
||||
tslib: "npm:^2.4.0"
|
||||
checksum: 10/5e904d257b85a75feb1332452e6ec7514b9707e6f7fac369b5dc4b3cdfce410efe8206dc76f9b37baee0f23215afb71f64351a783367545598b0458c285180a9
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"JSONStream@npm:1.3.5, JSONStream@npm:^1.0.4":
|
||||
version: 1.3.5
|
||||
resolution: "JSONStream@npm:1.3.5"
|
||||
|
@ -5150,6 +5160,23 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"cosmiconfig@npm:^8.2.0":
|
||||
version: 8.3.6
|
||||
resolution: "cosmiconfig@npm:8.3.6"
|
||||
dependencies:
|
||||
import-fresh: "npm:^3.3.0"
|
||||
js-yaml: "npm:^4.1.0"
|
||||
parse-json: "npm:^5.2.0"
|
||||
path-type: "npm:^4.0.0"
|
||||
peerDependencies:
|
||||
typescript: ">=4.9.5"
|
||||
peerDependenciesMeta:
|
||||
typescript:
|
||||
optional: true
|
||||
checksum: 10/91d082baca0f33b1c085bf010f9ded4af43cbedacba8821da0fb5667184d0a848addc52c31fadd080007f904a555319c238cf5f4c03e6d58ece2e4876b2e73d6
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"create-jest@npm:^29.7.0":
|
||||
version: 29.7.0
|
||||
resolution: "create-jest@npm:29.7.0"
|
||||
|
@ -6231,6 +6258,19 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"fast-glob@npm:^3.3.1":
|
||||
version: 3.3.2
|
||||
resolution: "fast-glob@npm:3.3.2"
|
||||
dependencies:
|
||||
"@nodelib/fs.stat": "npm:^2.0.2"
|
||||
"@nodelib/fs.walk": "npm:^1.2.3"
|
||||
glob-parent: "npm:^5.1.2"
|
||||
merge2: "npm:^1.3.0"
|
||||
micromatch: "npm:^4.0.4"
|
||||
checksum: 10/222512e9315a0efca1276af9adb2127f02105d7288fa746145bf45e2716383fb79eb983c89601a72a399a56b7c18d38ce70457c5466218c5f13fad957cee16df
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"fast-json-stable-stringify@npm:^2.0.0, fast-json-stable-stringify@npm:^2.1.0":
|
||||
version: 2.1.0
|
||||
resolution: "fast-json-stable-stringify@npm:2.1.0"
|
||||
|
@ -7134,7 +7174,7 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"import-fresh@npm:^3.2.1":
|
||||
"import-fresh@npm:^3.2.1, import-fresh@npm:^3.3.0":
|
||||
version: 3.3.0
|
||||
resolution: "import-fresh@npm:3.3.0"
|
||||
dependencies:
|
||||
|
@ -8107,7 +8147,7 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"js-yaml@npm:^3.13.1":
|
||||
"js-yaml@npm:^3.10.0, js-yaml@npm:^3.13.1":
|
||||
version: 3.14.1
|
||||
resolution: "js-yaml@npm:3.14.1"
|
||||
dependencies:
|
||||
|
@ -8379,6 +8419,32 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"lockfile-lint-api@npm:^5.9.1":
|
||||
version: 5.9.1
|
||||
resolution: "lockfile-lint-api@npm:5.9.1"
|
||||
dependencies:
|
||||
"@yarnpkg/parsers": "npm:^3.0.0-rc.48.1"
|
||||
debug: "npm:^4.3.4"
|
||||
object-hash: "npm:^3.0.0"
|
||||
checksum: 10/ffec229363ee80a2df6fe9068a05e838b455b2a63dee2fa60959bcb2d3b09699e1a9d8ee864bb2ab7160e38e02965dd9fdd9dbd041a3207514db0fef4fba7fb7
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"lockfile-lint@npm:4.13.2":
|
||||
version: 4.13.2
|
||||
resolution: "lockfile-lint@npm:4.13.2"
|
||||
dependencies:
|
||||
cosmiconfig: "npm:^8.2.0"
|
||||
debug: "npm:^4.3.4"
|
||||
fast-glob: "npm:^3.3.1"
|
||||
lockfile-lint-api: "npm:^5.9.1"
|
||||
yargs: "npm:^17.7.2"
|
||||
bin:
|
||||
lockfile-lint: bin/lockfile-lint.js
|
||||
checksum: 10/f5841942547c0058d961910909c5cce8b5305585614bd7bb53e087b6f147c608b2eeb78cb7be9cb6dd53fff316a09e01d8b98f2f28b0a843eaa779de3059f00a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"lockfile@npm:1.0.4":
|
||||
version: 1.0.4
|
||||
resolution: "lockfile@npm:1.0.4"
|
||||
|
@ -9157,6 +9223,13 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"object-hash@npm:^3.0.0":
|
||||
version: 3.0.0
|
||||
resolution: "object-hash@npm:3.0.0"
|
||||
checksum: 10/f498d456a20512ba7be500cef4cf7b3c183cc72c65372a549c9a0e6dd78ce26f375e9b1315c07592d3fde8f10d5019986eba35970570d477ed9a2a702514432a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"object-inspect@npm:^1.12.2, object-inspect@npm:^1.12.3, object-inspect@npm:^1.9.0":
|
||||
version: 1.12.3
|
||||
resolution: "object-inspect@npm:1.12.3"
|
||||
|
@ -11095,7 +11168,7 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"tslib@npm:^2.6.2":
|
||||
"tslib@npm:^2.4.0, tslib@npm:^2.6.2":
|
||||
version: 2.6.2
|
||||
resolution: "tslib@npm:2.6.2"
|
||||
checksum: 10/bd26c22d36736513980091a1e356378e8b662ded04204453d353a7f34a4c21ed0afc59b5f90719d4ba756e581a162ecbf93118dc9c6be5acf70aa309188166ca
|
||||
|
@ -11614,6 +11687,7 @@ __metadata:
|
|||
js-yaml: "npm:4.1.0"
|
||||
jsonwebtoken: "npm:9.0.2"
|
||||
kleur: "npm:4.1.5"
|
||||
lockfile-lint: "npm:4.13.2"
|
||||
lodash: "npm:4.17.21"
|
||||
lru-cache: "npm:7.18.3"
|
||||
mime: "npm:3.0.0"
|
||||
|
@ -11861,6 +11935,21 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"yargs@npm:^17.7.2":
|
||||
version: 17.7.2
|
||||
resolution: "yargs@npm:17.7.2"
|
||||
dependencies:
|
||||
cliui: "npm:^8.0.1"
|
||||
escalade: "npm:^3.1.1"
|
||||
get-caller-file: "npm:^2.0.5"
|
||||
require-directory: "npm:^2.1.1"
|
||||
string-width: "npm:^4.2.3"
|
||||
y18n: "npm:^5.0.5"
|
||||
yargs-parser: "npm:^21.1.1"
|
||||
checksum: 10/abb3e37678d6e38ea85485ed86ebe0d1e3464c640d7d9069805ea0da12f69d5a32df8e5625e370f9c96dd1c2dc088ab2d0a4dd32af18222ef3c4224a19471576
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"yn@npm:3.1.1":
|
||||
version: 3.1.1
|
||||
resolution: "yn@npm:3.1.1"
|
||||
|
|
Loading…
Add table
Reference in a new issue