build(deps-dev): bump typescript from 6.0.3 to 7.0.2 #1630
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "CI" | |
| on: | |
| push: | |
| branches: "*" | |
| pull_request: | |
| env: | |
| cache-version: 1 | |
| jobs: | |
| build: | |
| name: "Build" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@v7.0.0 | |
| - name: "Cache NPM dependencies" | |
| uses: actions/cache@v6.1.0 | |
| with: | |
| path: "~/.npm" | |
| key: npm-dependencies-${{ runner.os }}-${{ env.cache-version }}-${{ hashFiles('package.json') }} | |
| restore-keys: | | |
| npm-dependencies-${{ runner.os }}-${{ env.cache-version }}-${{ hashFiles('package.json') }} | |
| npm-dependencies-${{ runner.os }}-${{ env.cache-version }}- | |
| - name: "Install NPM dependencies" | |
| run: | | |
| npm ci | |
| - name: "Build" | |
| run: | | |
| npm run build | |
| lint: | |
| name: "Lint" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@v7.0.0 | |
| - name: "Cache NPM dependencies" | |
| uses: actions/cache@v6.1.0 | |
| with: | |
| path: "~/.npm" | |
| key: npm-dependencies-${{ runner.os }}-${{ env.cache-version }}-${{ hashFiles('package.json') }} | |
| restore-keys: | | |
| npm-dependencies-${{ runner.os }}-${{ env.cache-version }}-${{ hashFiles('package.json') }} | |
| npm-dependencies-${{ runner.os }}-${{ env.cache-version }}- | |
| - name: "Install NPM dependencies" | |
| run: | | |
| npm ci | |
| - name: "Lint" | |
| run: | | |
| npm run lint | |
| test: | |
| name: "Test" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@v7.0.0 | |
| - name: "Cache NPM dependencies" | |
| uses: actions/cache@v6.1.0 | |
| with: | |
| path: "~/.npm" | |
| key: npm-dependencies-${{ runner.os }}-${{ env.cache-version }}-${{ hashFiles('package.json') }} | |
| restore-keys: | | |
| npm-dependencies-${{ runner.os }}-${{ env.cache-version }}-${{ hashFiles('package.json') }} | |
| npm-dependencies-${{ runner.os }}-${{ env.cache-version }}- | |
| - name: "Install NPM dependencies" | |
| run: | | |
| npm ci | |
| - name: "Run unit tests" | |
| run: | | |
| npm run test-coverage unit | |
| - name: "Upload coverage results" | |
| uses: coverallsapp/github-action@v2.3.7 | |
| with: | |
| debug: true | |
| parallel: true | |
| flag-name: unit | |
| - name: "Run integration tests" | |
| run: | | |
| npm run test-coverage integration | |
| - name: "Upload coverage results" | |
| uses: coverallsapp/github-action@v2.3.7 | |
| with: | |
| debug: true | |
| parallel: true | |
| flag-name: integration | |
| - name: "Close coverage report" | |
| uses: coverallsapp/github-action@v2.3.7 | |
| with: | |
| debug: true | |
| parallel-finished: true |