chore: update

This commit is contained in:
Anthony Fu committed 2021-12-18 19:26:53 +08:00
1 parent 60b53aaa2f
commit db055b9ed1
4 files changed
+42 -39

No files matched your search

-34
View File
@@ -1,34 +0,0 @@
name: Lint Fix
on:
pull_request:
branches:
- main
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install pnpm
uses: pnpm/action-setup@v2.0.1
with:
version: 6.15.1
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 16.x
registry-url: https://registry.npmjs.org/
cache: "pnpm"
- run: pnpm install
- name: Lint Fix
run: pnpm run lint -- --fix
- uses: EndBug/add-and-commit@v7
with:
message: 'chore: fix lint'
+37
View File
@@ -0,0 +1,37 @@
name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install pnpm
uses: pnpm/action-setup@v2.0.1
with:
version: 6.15.1
- name: Set node
uses: actions/setup-node@v2
with:
node-version: 16
cache: 'pnpm'
- name: Setup
run: npm i -g @antfu/ni
- name: Install
run: nci
- name: Lint
run: nr lint
+1 -1
View File
@@ -46,7 +46,7 @@
"esno": "^0.13.0",
"typescript": "^4.5.4",
"unbuild": "^0.6.7",
"vitest": "^0.0.96",
"vitest": "^0.0.97",
"vite": "^2.7.3"
}
}
+4 -4
View File
@@ -13,7 +13,7 @@ importers:
typescript: ^4.5.4
unbuild: ^0.6.7
vite: ^2.7.3
vitest: ^0.0.96
vitest: ^0.0.97
devDependencies:
'@antfu/eslint-config': 0.14.0_eslint@8.5.0+typescript@4.5.4
'@antfu/ni': 0.12.0
@@ -24,7 +24,7 @@ importers:
typescript: 4.5.4
unbuild: 0.6.7
vite: 2.7.3
vitest: 0.0.96_vite@2.7.3
vitest: 0.0.97_vite@2.7.3
packages:
@@ -3140,8 +3140,8 @@ packages:
fsevents: 2.3.2
dev: true
/vitest/0.0.96_vite@2.7.3:
resolution: {integrity: sha512-qQiHmthTRfZ/jd729esq0J+tK757PYIWs4kT3RsNwEuk8T+m4eFpu+N5niHbdMyAC/DyziCZ9BwDgCRgwN1YWg==}
/vitest/0.0.97_vite@2.7.3:
resolution: {integrity: sha512-8gFvjcqBhI78gB5tCEQShQTfmi9R8B4zn+HkOVw2h4e1ojv8fMLBjGCBG0J/RiNdaBXCWcwUy+INgFz3eNNbkA==}
engines: {node: '>=16.0.0'}
hasBin: true
peerDependencies: