-
Notifications
You must be signed in to change notification settings - Fork 307
40 lines (36 loc) · 1.09 KB
/
collector.yml
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
name: Collector
on:
pull_request:
push:
branches: [master]
schedule:
- cron: '0 4 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
# TODO: upstream jobs
jobs:
express:
runs-on: ubuntu-latest
env:
PLUGINS: express|body-parser|cookie-parser
NODE_OPTIONS: -r ./libdatadog-nodejs/global
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
- repository: https://github.com/DataDog/libdatadog-nodejs.git
- path: libdatadog-nodejs
- run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- run: npm run build
working-directory: ./libdatadog-nodejs
- uses: ./.github/actions/testagent/start
- uses: ./.github/actions/node/setup
- run: yarn install
- uses: ./.github/actions/node/oldest
- run: yarn test:plugins:ci
- uses: ./.github/actions/node/latest
- run: yarn test:plugins:ci
- if: always()
uses: ./.github/actions/testagent/logs
- uses: codecov/codecov-action@v3