Skip to content

Commit

Permalink
Merge branch 'master' into earliestInHistory-feature
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuzilv authored Oct 10, 2023
2 parents 5ff9379 + 393a14b commit 953e300
Show file tree
Hide file tree
Showing 12 changed files with 496 additions and 1,022 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/delivery.yml → .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 14
node-version: 16
- name: Restore Node.js modules
id: cache-node-modules
uses: actions/cache@v3.2.6
uses: actions/cache@v3.3.1
with:
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
Expand Down
87 changes: 0 additions & 87 deletions .github/workflows/ci-master.yml

This file was deleted.

121 changes: 0 additions & 121 deletions .github/workflows/ci-pr.yml

This file was deleted.

126 changes: 0 additions & 126 deletions .github/workflows/ci-prt.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Continuous Integration
on:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
- reopened

jobs:
integration:
uses: growingio/.github/.github/workflows/ci-nodejs.yml@master
# intergration with sonar cloud
sonar:
name: Sonar scan
if: ${{ github.actor != 'dependabot[bot]' && !github.event.pull_request.head.repo.fork }}
needs:
- integration
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Download code coverage results
uses: actions/download-artifact@v3
with:
name: code-coverage-report
path: coverage
- name: Upload reports to SonarCloud
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Loading

0 comments on commit 953e300

Please sign in to comment.