Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

lint-and-test.yml 1017 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
  1. name: Lint and test
  2. on:
  3. pull_request:
  4. push:
  5. branches:
  6. - main
  7. jobs:
  8. lint:
  9. runs-on: ubuntu-latest
  10. timeout-minutes: 10
  11. steps:
  12. - uses: actions/checkout@v3
  13. - uses: actions/setup-node@v3
  14. with:
  15. node-version: "20"
  16. cache: "npm"
  17. - run: |
  18. npm install ci
  19. - name: "Checking lint/format errors"
  20. run: |
  21. npm run lint
  22. - name: "Checking type errors"
  23. run: |
  24. npm run check
  25. test:
  26. runs-on: ubuntu-latest
  27. timeout-minutes: 10
  28. steps:
  29. - uses: actions/checkout@v3
  30. - uses: actions/setup-node@v3
  31. with:
  32. node-version: "20"
  33. cache: "npm"
  34. - run: |
  35. npm ci
  36. - name: "Tests"
  37. run: |
  38. npm run test
  39. build-check:
  40. runs-on: ubuntu-latest
  41. timeout-minutes: 10
  42. steps:
  43. - uses: actions/checkout@v3
  44. - name: Build Docker image
  45. run: docker build --secret id=DOTENV_LOCAL,src=.env.ci -t chat-ui:latest .
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...