mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-30 22:34:10 -05:00
chore: update ci
This commit is contained in:
parent
c12e1a0b6a
commit
88f2e1de2d
4 changed files with 26 additions and 4 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 }}
|
node-version: ${{ matrix.node_version }}
|
||||||
- name: Install
|
- name: Install
|
||||||
run: yarn install --immutable
|
run: yarn install --immutable
|
||||||
- name: Format
|
|
||||||
run: yarn format:check
|
|
||||||
- name: Lint
|
|
||||||
run: yarn lint
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: yarn build
|
run: yarn build
|
||||||
- name: Types
|
- name: Types
|
||||||
|
|
|
@ -107,6 +107,7 @@
|
||||||
"jest-config": "29.7.0",
|
"jest-config": "29.7.0",
|
||||||
"jest-environment-node": "29.7.0",
|
"jest-environment-node": "29.7.0",
|
||||||
"jest-junit": "16.0.0",
|
"jest-junit": "16.0.0",
|
||||||
|
"lockfile-lint": "4.13.2",
|
||||||
"nock": "13.5.0",
|
"nock": "13.5.0",
|
||||||
"prettier": "3.2.4",
|
"prettier": "3.2.4",
|
||||||
"rimraf": "5.0.5",
|
"rimraf": "5.0.5",
|
||||||
|
@ -145,6 +146,7 @@
|
||||||
"pre:ci": "yarn run lint",
|
"pre:ci": "yarn run lint",
|
||||||
"lint:ts": "yarn run type-check",
|
"lint:ts": "yarn run type-check",
|
||||||
"lint": "eslint \"**/*.{js,jsx,ts}\" --max-warnings 145 -c ./eslintrc.js",
|
"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": "yarn babel-node --extensions \".ts,.tsx\" src/lib/cli --inspect",
|
||||||
"start:brk": "yarn babel-node --extensions \".ts,.tsx\" src/lib/cli --inspect-brk",
|
"start:brk": "yarn babel-node --extensions \".ts,.tsx\" src/lib/cli --inspect-brk",
|
||||||
"start:debug": "yarn node debug/bootstrap.js",
|
"start:debug": "yarn node debug/bootstrap.js",
|
||||||
|
|
BIN
yarn.lock
BIN
yarn.lock
Binary file not shown.
Loading…
Reference in a new issue