Skip to content

Commit

Permalink
added step to check linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Bullrich committed Apr 30, 2024
1 parent 94e1c2a commit 4174bd9
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 9 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Tests

on:
pull_request:

permissions:
contents: read

jobs:
check-linting:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install node
uses: actions/setup-node@v4
with:
node-version: 20
- run: yarn install --frozen-lockfile
- run: yarn generate:papi:e2e
- run: yarn install --frozen-lockfile
working-directory: client
- run: yarn typecheck
- run: yarn format
- run: yarn lint
9 changes: 0 additions & 9 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,6 @@ variables:

#### stage: test

check-linting:
stage: test
<<: *common-refs
<<: *kubernetes-env
script:
- yarn --frozen-lockfile
- yarn generate:papi:e2e
- cd client && yarn --frozen-lockfile && cd ..
- yarn typecheck && yarn format && yarn lint

check-tests:
stage: test
Expand Down

0 comments on commit 4174bd9

Please sign in to comment.