-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
38 lines (33 loc) · 777 Bytes
/
.travis.yml
File metadata and controls
38 lines (33 loc) · 777 Bytes
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
dist: jammy
language: node_js
node_js: 20
anchor: &npm npm # This is here to show comment and preserved
cache: *npm
install: npm ci
stages:
- lint
- test
- name: auto-bump
if: branch = master AND type = push
jobs:
include:
- stage: lint
name: lint
script: npm run lint
- &test
stage: test
name: test-update-node18
node_js: '18'
script: npm run test:all
- <<: *test
name: test-update-node20
node_js: '20'
- <<: *test
name: test-update-node22
node_js: '22'
- stage: auto-bump
name: auto-bump
before_script:
- git config --global user.email "tech@coorpacademy.com"
- git config --global user.name "Coorpacademy Bot"
script: ./scripts/self-update.sh