Skip to content
This repository was archived by the owner on Feb 3, 2026. It is now read-only.

[StepSecurity] Apply security best practices #19

[StepSecurity] Apply security best practices

[StepSecurity] Apply security best practices #19

Workflow file for this run

name: ua-parser-js-run-test
on: [push, pull_request]
permissions:
contents: read
jobs:
run-test:
runs-on: ubuntu-latest
strategy:
matrix:
arch: [amd64, ppc64le]
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
with:
egress-policy: audit
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2.5.2
- name: Run the test
run: |
npm install
npm run test-ci