From f8cb4c3007c23e01913b07c357084b121a21bb48 Mon Sep 17 00:00:00 2001 From: c-bata Date: Fri, 15 Jan 2021 05:20:24 +0900 Subject: [PATCH 1/3] Add issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 28 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 12 ++++++++++ 2 files changed, 40 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000..da59b904 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,28 @@ +--- +name: "Bug report" +about: Create a bug report to improve optuna-dashboard +title: "[Bug]" +labels: bug +assignees: '' + +--- + +# Bug reports + +*Please file a bug report here.* + +## Expected Behavior + +*Please describe the behavior you are expecting* + +## Current Behavior and Steps to Reproduce + +*What is the current behavior? Please provide detailed steps or example for reproducing.* + +## Context + +Please provide any relevant information about your setup. +This is important in case the issue is not reproducible except for under certain conditions. + +* Optuna version +* optuna-dashboard version or commit revision: diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 00000000..66206360 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,12 @@ +--- +name: "Feature request" +about: Suggest an idea for new features in optuna-dashboard. +title: "[Feature]" +labels: enhancement +assignees: '' + +--- + +# Feature Request + +*Please write your suggestion here.* From 3ab0e268b066331aa1b2479696a3d06d7b027528 Mon Sep 17 00:00:00 2001 From: c-bata Date: Fri, 15 Jan 2021 05:26:38 +0900 Subject: [PATCH 2/3] Run js build on Actions --- ...script-lints.yml => typescript-checks.yml} | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) rename .github/workflows/{typescript-lints.yml => typescript-checks.yml} (54%) diff --git a/.github/workflows/typescript-lints.yml b/.github/workflows/typescript-checks.yml similarity index 54% rename from .github/workflows/typescript-lints.yml rename to .github/workflows/typescript-checks.yml index 22b5c8ca..92d31b70 100644 --- a/.github/workflows/typescript-lints.yml +++ b/.github/workflows/typescript-checks.yml @@ -1,4 +1,4 @@ -name: typescript-lints +name: typescript-checks on: pull_request: paths: @@ -21,3 +21,20 @@ jobs: - run: | npm install npm run lint + + build: + name: JS build check + runs-on: ubuntu-latest + + steps: + - name: Check out code + uses: actions/checkout@master + + - name: Set up Node v14 + uses: actions/setup-node@v2-beta + with: + node-version: '14' + - run: | + npm install + npm run build:dev + npm run build:prd From a3720dfed28abe4d42e1dc2893c82a4b9253c2f4 Mon Sep 17 00:00:00 2001 From: c-bata Date: Fri, 15 Jan 2021 05:36:00 +0900 Subject: [PATCH 3/3] Fix typescript checks workflow --- .github/workflows/typescript-checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/typescript-checks.yml b/.github/workflows/typescript-checks.yml index 92d31b70..5cbc63f1 100644 --- a/.github/workflows/typescript-checks.yml +++ b/.github/workflows/typescript-checks.yml @@ -2,7 +2,7 @@ name: typescript-checks on: pull_request: paths: - - '.github/workflows/typescript-lints.yml' + - '.github/workflows/typescript-checks.yml' - '**.ts' - '**.tsx' jobs: