Skip to content

Commit 543056e

Browse files
committed
Extract build artifact in current directory
1 parent 940b115 commit 543056e

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,22 +63,19 @@ jobs:
6363
- name: Install latest NPM
6464
run: npm i -g npm@latest
6565

66+
- name: Install test dependencies
67+
run: npm ci
68+
6669
- name: Download build artifact
6770
uses: actions/download-artifact@v4
6871
with:
6972
name: package
70-
path: ./package
73+
path: .
7174

7275
- name: Extract build package
73-
working-directory: ./package
74-
run: tar -xzf cldn-ip-0.0.0-dev.tgz
75-
76-
- name: Install test dependencies
77-
working-directory: ./package/package
78-
run: npm ci
76+
run: tar -xzf cldn-ip-0.0.0-dev.tgz --strip-components=1 -C . --overwrite
7977

8078
- name: Test
81-
working-directory: ./package/package
8279
run: npm run test
8380

8481
publish:

0 commit comments

Comments
 (0)