Add action to harden runner in node workflow

This commit is contained in:
Shivam Mathur committed 2021-11-10 06:17:07 +05:30
1 parent beaceb0089
commit f7b503e36b
1 file changed
+4
+4
View File
@@ -25,6 +25,10 @@ jobs:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Harden Runner
if: runner.os == 'Linux'
uses: step-security/harden-runner@main
- name: Checkout
uses: actions/checkout@v2