diff options
author | Vitaly Takmazov | 2023-01-13 10:44:51 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 11:04:54 +0300 |
commit | 3614e81abe4528072dd25168e06bc7d1e73a4885 (patch) | |
tree | 966729be1f325662e2c8164d51a3f6ecf3c01a45 | |
parent | 3eb790c077720631281d84f582027f6bb89c24de (diff) |
CI: merge vnext configuration
-rw-r--r-- | .github/dependabot.yml | 5 | ||||
-rw-r--r-- | .github/workflows/ci.yml | 12 | ||||
-rw-r--r-- | vnext/.eslintrc | 3 | ||||
-rw-r--r-- | vnext/.github/dependabot.yml | 7 | ||||
-rw-r--r-- | vnext/.github/workflows/npm-publish.yml | 14 |
5 files changed, 19 insertions, 22 deletions
diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 4b72c731..3785ca8c 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,6 +5,11 @@ updates: schedule: interval: daily open-pull-requests-limit: 10 +- package-ecosystem: npm + directory: "/vnext" + schedule: + interval: daily + open-pull-requests-limit: 10 - package-ecosystem: maven directory: "/" schedule: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3e4a1cdf..a1b9f707 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,3 +50,15 @@ jobs: with: report_paths: "**/target/surefire-reports/TEST-*.xml" github_token: ${{ secrets.GITHUB_TOKEN }} + vnext: + defaults: + run: + working-directory: vnext + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - run: npm ci + - run: npm test + - run: npm run lint + - run: npm run build + - run: npm run build:ssr diff --git a/vnext/.eslintrc b/vnext/.eslintrc index 006e0b07..f71069e1 100644 --- a/vnext/.eslintrc +++ b/vnext/.eslintrc @@ -71,5 +71,6 @@ "semi": ["error", "always"], "semi-style": ["error", "last"], "@typescript-eslint/no-floating-promises": "error" - } + }, + "root": true } diff --git a/vnext/.github/dependabot.yml b/vnext/.github/dependabot.yml deleted file mode 100644 index 4872c5af..00000000 --- a/vnext/.github/dependabot.yml +++ /dev/null @@ -1,7 +0,0 @@ -version: 2 -updates: -- package-ecosystem: npm - directory: "/" - schedule: - interval: daily - open-pull-requests-limit: 10 diff --git a/vnext/.github/workflows/npm-publish.yml b/vnext/.github/workflows/npm-publish.yml deleted file mode 100644 index eed26af1..00000000 --- a/vnext/.github/workflows/npm-publish.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Node - -on: [push, pull_request] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - run: npm ci - - run: npm test - - run: npm run lint - - run: npm run build - - run: npm run build:ssr |