Skip to content

Commit

Permalink
workflow(cd): fix release fail (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoushaw authored Jul 25, 2024
1 parent 3cb5b42 commit f611467
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 31 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,4 @@ jobs:
run: node ./scripts/release.js --version=${{ github.event.inputs.version }}
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: changelog
run: npx conventional-github-releaser -p angular
env:
CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{secrets.GITHUB_TOKEN}}

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "midscene",
"private": true,
"version": "0.0.1",
"version": "0.0.0",
"description": "",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -44,4 +44,4 @@
"path": "cz-conventional-changelog"
}
}
}
}
36 changes: 18 additions & 18 deletions packages/midscene/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@midscene/core",
"description": "Hello, It's MidScene",
"version": "0.0.1",
"version": "0.0.0",
"jsnext:source": "./src/index.ts",
"main": "./dist/lib/index.js",
"module": "./dist/es/index.js",
Expand Down Expand Up @@ -38,22 +38,22 @@
"require": "./dist/lib/image.js"
}
},
"typesVersions": {
"*": {
".": [
"./dist/types/index.d.ts"
],
"utils": [
"./dist/types/utils.d.ts"
],
"ai-model": [
"./dist/types/ai-model.d.ts"
],
"image": [
"./dist/types/image.d.ts"
]
}
},
"typesVersions": {
"*": {
".": [
"./dist/types/index.d.ts"
],
"utils": [
"./dist/types/utils.d.ts"
],
"ai-model": [
"./dist/types/ai-model.d.ts"
],
"image": [
"./dist/types/image.d.ts"
]
}
},
"scripts": {
"dev": "modern dev",
"build": "modern build",
Expand Down Expand Up @@ -83,4 +83,4 @@
"registry": "https://registry.npmjs.org"
},
"license": "MIT"
}
}
4 changes: 2 additions & 2 deletions packages/playwright-demo/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "midscene-playwright-demo",
"private": true,
"version": "0.1.0",
"version": "0.0.0",
"types": "./dist/types/index.d.ts",
"jsnext:source": "./src/index.ts",
"main": "./dist/lib/index.js",
Expand Down Expand Up @@ -30,4 +30,4 @@
"publishConfig": {
"access": "public"
}
}
}
4 changes: 2 additions & 2 deletions packages/visualizer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@midscene/visualizer",
"version": "0.0.1",
"version": "0.0.0",
"types": "./dist/types/index.d.ts",
"jsnext:source": "./src/index.ts",
"main": "./dist/lib/index.js",
Expand Down Expand Up @@ -44,4 +44,4 @@
"publishConfig": {
"access": "public"
}
}
}
2 changes: 1 addition & 1 deletion packages/web-integration/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@midscene/web",
"description": "Web integration for MidScene.js",
"version": "0.0.1",
"version": "0.0.0",
"jsnext:source": "./src/index.ts",
"main": "./dist/lib/index.js",
"module": "./dist/es/index.js",
Expand Down
2 changes: 1 addition & 1 deletion scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async function main() {
}

async function build() {
await run('pnpm', ['build']);
await run('pnpm', ['run', 'build:pkg']);
}

async function test() {
Expand Down

0 comments on commit f611467

Please sign in to comment.