Skip to content

Commit

Permalink
Add CI configuration for automated testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Codycody31 committed Nov 30, 2023
1 parent 43119cf commit d995abc
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .onedev-buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,26 @@ jobs:
maxRetries: 3
retryDelay: 30
timeout: 3600
- name: CI
steps:
- !CheckoutStep
name: checkout
cloneCredential: !DefaultCredential {}
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
- !CommandStep
name: test
image: node:18
commands:
- 'npm ci'
- 'npm run lint'
- 'npm run test'
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
triggers:
- !BranchUpdateTrigger {}
- !PullRequestUpdateTrigger {}
retryCondition: never
maxRetries: 3
retryDelay: 30
cpuRequirement: 250m
memoryRequirement: 128m
timeout: 360000

0 comments on commit d995abc

Please sign in to comment.