File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 2424# TODO: upstream jobs
2525
2626jobs :
27+ package-manager :
28+ strategy :
29+ fail-fast : false
30+ matrix :
31+ manager :
32+ - name : npm
33+ install : npm install
34+ - name : pnpm
35+ install : pnpm add
36+ - name : yarn
37+ install : yarn add
38+ - name : bun
39+ install : bun add
40+ runs-on : ubuntu-latest
41+ steps :
42+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
43+ - uses : ./.github/actions/node/active-lts
44+ - run : FILENAME=$(npm pack --pack-destination /tmp) && mv /tmp/$FILENAME /tmp/dd-trace.tgz
45+ - run : mkdir -p /tmp/app
46+ - run : npm i -g pnpm
47+ if : matrix.manager.name == 'pnpm'
48+ - run : cd /tmp/app && ${{ matrix.manager.install }} /tmp/dd-trace.tgz
49+ - run : echo "require('dd-trace').init()" >> /tmp/app/index.js
50+ - run : node /tmp/app
51+
2752 bun-pack :
2853 runs-on : ubuntu-latest
2954 steps :
You can’t perform that action at this time.
0 commit comments