Skip to content

Commit

Permalink
feat: up ci
Browse files Browse the repository at this point in the history
  • Loading branch information
yanhaijing committed May 1, 2024
1 parent 2fd1697 commit 5bf4941
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ jobs:
with:
node-version: '18'

- name: Install jslib globally
run: yarn install

- name: Publish to npm
uses: JS-DevTools/npm-publish@v3
with:
Expand All @@ -38,7 +35,7 @@ jobs:
- name: Create Git tag
run: |
# Create a new tag based on the current version in package.json
VERSION=$(node -p "require('./packages/cli/package.json.json').version")
VERSION=$(node -p "require('./packages/cli/package.json').version")
TAG="v$VERSION"
git tag $TAG
git push origin $TAG
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"packages": [
"packages/*"
],
"version": "3.0.3-alpha.0"
"version": "3.0.4-alpha.0"
}
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@js-lib/cli",
"version": "3.0.3-alpha.0",
"version": "3.0.4-alpha.0",
"description": "The best third party JS|TS library scaffold",
"author": "yanhaijing <[email protected]>",
"homepage": "https://github.com/yanhaijing/jslib-base/tree/master#readme",
Expand Down

0 comments on commit 5bf4941

Please sign in to comment.