Skip to content

Commit

Permalink
chore: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
wtto00 committed Sep 24, 2023
1 parent 76f2745 commit 6de996b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ jobs:
- name: Install Dependencies
run: pnpm install --no-frozen-lockfile

- name: Build
run: pnpm build

- run: npm pkg set publishConfig.registry=https://npm.pkg.github.com
- run: npm publish
env:
Expand Down Expand Up @@ -128,6 +131,9 @@ jobs:
- name: Install Dependencies
run: pnpm install --no-frozen-lockfile

- name: Build
run: pnpm build

- run: git config --global user.name "GitHub CD bot"
- run: git config --global user.email "[email protected]"
- run: npm publish --access public
Expand Down
2 changes: 1 addition & 1 deletion README-ZH_CN.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# android-tools

[![Test](https://github.com/wtto00/android-tools/actions/workflows/test.yml/badge.svg)](https://github.com/wtto00/android-tools/actions/workflows/test.yml)
[![Test](https://github.com/wtto00/android-tools/actions/workflows/test-publish.yml/badge.svg)](https://github.com/wtto00/android-tools/actions/workflows/test-publish.yml)

使用 Nodejs 控制管理 Andorid 设备。

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# android-tools

[![Test](https://github.com/wtto00/android-tools/actions/workflows/test.yml/badge.svg)](https://github.com/wtto00/android-tools/actions/workflows/test.yml)
[![Test](https://github.com/wtto00/android-tools/actions/workflows/test-publish.yml/badge.svg)](https://github.com/wtto00/android-tools/actions/workflows/test-publish.yml)

Node module for managing and controlling the Android Devices.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wtto00/android-tools",
"version": "1.0.0",
"version": "1.0.1",
"description": "Node module for managing and controlling the Android Devices.",
"type": "module",
"main": "dist/lib/index.js",
Expand Down

0 comments on commit 6de996b

Please sign in to comment.