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

javascript #65

Merged
merged 11 commits into from
May 31, 2024
Merged

javascript #65

merged 11 commits into from
May 31, 2024

Conversation

jiu33
Copy link
Contributor

@jiu33 jiu33 commented May 30, 2024

Summary

Solution Description

@CLAassistant
Copy link

CLAassistant commented May 30, 2024

CLA assistant check
All committers have signed the CLA.

@whhe
Copy link
Member

whhe commented May 30, 2024

Hi @jiu33, thanks for your contribution! I just updated the CI workflow configurations on master branch, could you please rebase on it and push your branch again? You also need to add a workflow yaml file javascript.yml like below:

name: JavaScript CI

on:
  push:
    paths:
      - '.github/workflows/javascript.yml'
      - 'javascript/**'
  pull_request:
    paths:
      - '.github/workflows/javascript.yml'
      - 'javascript/**'

jobs:
  ci:
    strategy:
      matrix:
        module:
          - name: 'mysql2'
            with_oceanbase_container: true
    uses: ./.github/workflows/basic-workflow.yml
    with:
      language: 'javascript'
      module: ${{ matrix.module.name }}
      with_oceanbase_container: ${{ matrix.module.with_oceanbase_container }}

@jiu33 jiu33 reopened this May 31, 2024
Copy link
Member

@whhe whhe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution! I left some comments.

创建 [example.js](example.js) 文件

```
onst mysql = require('mysql2');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: 'onst' -> 'const'

创建 [example.js](example.js) 文件

```
onst mysql = require('mysql2');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const


```

创建 [example.js](example.js) 文件
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be in English right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry I do it

@whhe
Copy link
Member

whhe commented May 31, 2024

Hi @jiu33, can you translate the Chinese content in README.md to English? Mixing Chinese and English in one document may be confusing for users who only speak English.

Copy link
Member

@whhe whhe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@whhe whhe merged commit 65fe023 into oceanbase:master May 31, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants