Skip to content

Commit c3be87d

Browse files
committed
security: avoid ad-hoc npm installation in lint-typescript
1 parent 1d97363 commit c3be87d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/lint-typescript.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ jobs:
5959
with:
6060
node-version: ${{ steps.versions.outputs.nodeVersion }}
6161

62-
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
63-
run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'
62+
- name: Show npm version
63+
run: npm --version
6464

6565
- name: Install dependencies
6666
env:

0 commit comments

Comments
 (0)