Skip to content

Commit

Permalink
chore(workflows): type-check in linters, full build in e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
awinogradov committed Aug 9, 2023
1 parent d0f510b commit 7e4d4a5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
name: e2e

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
branches:
- main
paths:
- '**/**.json'
- '**/**.js'
- '**/**.jsx'
- '**/**.ts'
- '**/**.tsx'

jobs:
build_and_run_e2e:
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Build the stack
- uses: actions/checkout@v3
- name: Docker
run: docker-compose -f docker-compose.ci.yml up -d

- name: run e2e
- name: Cypress
uses: cypress-io/github-action@v4
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ jobs:
run: npm run lint
- name: Unit
run: npm run test
- name: Build
run: npm run build
- name: type-check
run: npm run type-check

0 comments on commit 7e4d4a5

Please sign in to comment.