Skip to content

Commit 072ec1f

Browse files
refactor: use publish-npm reusable workflow
1 parent f1ab114 commit 072ec1f

File tree

1 file changed

+5
-18
lines changed

1 file changed

+5
-18
lines changed

.github/workflows/pr-test.yml

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -55,24 +55,11 @@ jobs:
5555
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
5656

5757
npm-dry-run:
58-
runs-on: ubuntu-latest
59-
steps:
60-
- uses: actions/checkout@v4
61-
62-
- name: Use Node.js 18
63-
uses: actions/setup-node@v4
64-
with:
65-
node-version: '18'
66-
cache: 'npm'
67-
68-
- name: Install dependencies
69-
run: npm ci
70-
71-
- name: Build
72-
run: npm run build
73-
74-
- name: npm publish dry-run
75-
run: npm publish --dry-run
58+
uses: iExecBlockchainComputing/github-actions-workflows/.github/workflows/publish-npm.yml@feat/npm-publish-dry-run
59+
with:
60+
install-command: npm ci
61+
build-command: npm run build
62+
dry-run: true
7663

7764
docker-dry-run:
7865
uses: iExecBlockchainComputing/github-actions-workflows/.github/workflows/[email protected]

0 commit comments

Comments
 (0)