Skip to content

Commit 6a675aa

Browse files
committed
switch to non-action code
1 parent c91d210 commit 6a675aa

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/collector.yml

+4-10
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,15 @@ jobs:
2121
RUST_BACKTRACE: '1'
2222
steps:
2323
- uses: actions/checkout@v4
24-
- uses: actions/checkout@v4
25-
with:
26-
repository: DataDog/libdatadog-nodejs
27-
ref: main
28-
path: libdatadog-nodejs
24+
- run: git clone https://github.com/DataDog/libdatadog-nodejs.git
2925
- run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
30-
- run: npm install && npm run build
31-
working-directory: ./libdatadog-nodejs
26+
- run: cd libdatadog-nodejs && npm install && npm run build
3227
- uses: ./.github/actions/testagent/start
3328
- uses: ./.github/actions/node/setup
3429
- run: yarn install
3530
- uses: ./.github/actions/node/oldest
36-
- run: ls -lisa $GITHUB_WORKSPACE
37-
- run: NODE_OPTIONS="-r $GITHUB_WORKSPACE/libdatadog-nodejs/global" yarn test:plugins:ci
31+
- run: NODE_OPTIONS="-r $PWD/libdatadog-nodejs/global" yarn test:plugins:ci
3832
- uses: ./.github/actions/node/latest
39-
- run: NODE_OPTIONS="-r $GITHUB_WORKSPACE/libdatadog-nodejs/global" yarn test:plugins:ci
33+
- run: NODE_OPTIONS="-r $PWD/libdatadog-nodejs/global" yarn test:plugins:ci
4034
- if: always()
4135
uses: ./.github/actions/testagent/logs

0 commit comments

Comments
 (0)