Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workflow(cd): fix release fail #12

Merged
merged 1 commit into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading