Skip to content

Commit

Permalink
ci: add linting to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
paulpestov committed Aug 21, 2024
1 parent 825c92b commit 0f3e31d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Node.js CI

on:
push:
branches: [ "develop" ]
branches: [ "develop", "main-variants" ]
pull_request:
branches: [ "develop", "main", "main-variants" ]
jobs:
Expand Down Expand Up @@ -37,13 +37,16 @@ jobs:
restore-keys: |
cypress-${{ runner.os }}-cypress-node${{ matrix.node-version }}-
- name: Install dependencies
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Run Linting
run: npm run lint
- name: Run tests
run: |
npm ci
npm run start:mock-api &
npm run test
# - name: Save test video folder
Expand Down

0 comments on commit 0f3e31d

Please sign in to comment.