From e9d34860cb69d49ac3789d53732bbe52d6c9f7d7 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sat, 23 Apr 2022 20:06:43 +0200 Subject: Add initial GH workflow config --- .github/workflows/cs.yml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/cs.yml (limited to '.github') diff --git a/.github/workflows/cs.yml b/.github/workflows/cs.yml new file mode 100644 index 0000000..0b24e63 --- /dev/null +++ b/.github/workflows/cs.yml @@ -0,0 +1,46 @@ +name: CS + +on: + push: + branches: + - master + - 'feature/**' + - 'release/**' + - 'fix/**' + paths-ignore: + - "README.md" + # The branches below must be a subset of the branches above + pull_request: + branches: + - master + paths-ignore: + - "README.md" + +jobs: + lint: + runs-on: ${{ matrix.os }} + name: Code linting + + # The maximum number of minutes to let a workflow run + # before GitHub automatically cancels it. Default: 360 + timeout-minutes: 30 + + strategy: + # When set to true, GitHub cancels + # all in-progress jobs if any matrix job fails. + fail-fast: false + + matrix: + node: + - '14.x' + os: + - ubuntu-20.04 + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up Node ${{ matrix.node }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node }} -- cgit v1.2.3