chore(deps): bump step-security/harden-runner from 2.8.0 to 2.8.1 #325
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check JS code | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
main: | |
name: Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 | |
with: | |
disable-sudo: true | |
egress-policy: block | |
allowed-endpoints: > | |
github.com:443 | |
registry.npmjs.org:443 | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
- name: NPM install | |
run: npm install | |
- name: Check Format | |
run: npm run format-check | |
- name: Unit tests | |
run: npm test |