name: CI/CD on: [push] jobs: codestyle-tests: runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, 'NO_CI')" steps: - name: Checkout Repository uses: actions/checkout@main with: fetch-depth: 1 - name: Checkout Build Repository uses: actions/checkout@main with: fetch-depth: 1 ref: develop repository: Karaka-Management/Build path: Build - name: Install NPM uses: actions/setup-node@v3 with: node-version: '14' cache: 'npm' - run: npm install - name: eslint run: npx eslint ./ -c Build/Config/.eslintrc.json linting: runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, 'NO_CI')" strategy: fail-fast: false max-parallel: 3 steps: - name: Checkout Repository uses: actions/checkout@main with: fetch-depth: 0 submodules: recursive token: ${{ secrets.GH_PAT }} - name: Lint Code Base uses: github/super-linter@v4 env: VALIDATE_ALL_CODEBASE: false DEFAULT_BRANCH: develop GITHUB_TOKEN: ${{ secrets.GH_PAT }}