chore(main): release dapp 0.1.0-alpha.3 #27
Workflow file for this run
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: web3telegram DApp - CI | |
| on: | |
| pull_request: | |
| branches: | |
| - '*' | |
| paths: | |
| - 'dapp/**' | |
| concurrency: | |
| group: ${{ github.ref }}-dapp-ci | |
| cancel-in-progress: true | |
| jobs: | |
| check-code: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./dapp | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'npm' | |
| cache-dependency-path: dapp/package-lock.json | |
| - name: Install Dependencies | |
| run: npm ci | |
| - name: Lint | |
| run: npm run lint | |
| - name: Check formatting | |
| run: npm run check-format | |
| test: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./dapp | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'npm' | |
| cache-dependency-path: dapp/package-lock.json | |
| - name: Install Dependencies | |
| run: npm ci | |
| - name: Test unit | |
| run: npm run test | |
| - name: Test with coverage | |
| run: npm run ctest |