Skip to content

Commit

Permalink
chore: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
haoziqaq committed Nov 14, 2023
1 parent 29ac245 commit ed99224
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 17 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/check.yml → .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
name: CHECK
name: Lint

on: [push, pull_request]

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v2
run: corepack enable

- name: Set node
- name: Set node version to 18
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: pnpm
node-version: '18'
cache: 'pnpm'

- name: Ls
run: ls -a

Expand All @@ -27,4 +28,4 @@ jobs:
run: ni --frozen

- name: Lint
run: nr checkAll
run: nr lint
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h1 align="center">@varlet/release</h1>
<h1 align="center">Varlet Release</h1>

<p align="center">
<span>English</span> |
Expand All @@ -11,14 +11,14 @@

## Intro

`@varlet/release` is a tool to release all packages and generate changelogs.
`Varlet Release` is a tool to release all packages and generate changelogs.

## Installation

### npm

```shell
npm install --save-dev @varlet/release
npm i @varlet/release -D
```

### yarn
Expand Down
6 changes: 3 additions & 3 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h1 align="center">@varlet/release</h1>
<h1 align="center">Varlet Release</h1>

<p align="center">
<span>中文</span> |
Expand All @@ -11,14 +11,14 @@

## 介绍

`@varlet/release 是一个用于发布所有包并生成变更日志的工具。
`Varlet release` 是一个用于发布所有包并生成变更日志的工具。

## 安装

### npm

```shell
npm install --save-dev @varlet/release
npm i @varlet/release -D
```

### yarn
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
],
"scripts": {
"preinstall": "npx only-allow pnpm",
"build": "tsc --noEmit && tsup",
"dev": "node bin/index.js",
"release": "pnpm run build && pnpm run dev release",
"checkAll": "tsc --noEmit && eslint --ext .ts,.js"
"build": "tsc --noEmit && tsup",
"release": "pnpm build && pnpm dev release",
"lint": "tsc --noEmit && eslint --ext .ts,.js"
},
"packageManager": "pnpm@8.7.5",
"engines": {
Expand Down

0 comments on commit ed99224

Please sign in to comment.