Feature/65318 use autoformatting for transitlog server #2
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/CD: Continuous integration and continuous deployment" | |
| on: [pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-check: | |
| name: 'Build & check format' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "lts/*" | |
| cache: "npm" | |
| - name: Install NPM dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Check code formatting | |
| run: npm run format:check | |