Refac: Getting of token #28
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: CI | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.x | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run linter | |
| run: npm run lint | |
| - name: Check code format | |
| run: npm run format:check | |
| - name: Build sources to JavaScript | |
| run: npm run build | |
| - name: Build container | |
| run: > | |
| podman build -t diffkemp-prs:latest . \ | |
| --build-arg KERNEL_VERSIONS="4.18.0-80.el8 4.18.0-147.el8" | |
| - name: Run tests | |
| run: npm run test |