chore(deps): update actions/setup-node action to v4.1.0 #69
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: Linting | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
env: | |
NPM_CONFIG_FUND: '0' | |
NPM_CONFIG_AUDIT: '0' | |
SUPPRESS_SUPPORT: '1' | |
NO_UPDATE_NOTIFIER: 'true' | |
jobs: | |
lint: | |
name: ESLint Check | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
disable-sudo: true | |
egress-policy: block | |
allowed-endpoints: > | |
api.github.com:443 | |
github.com:443 | |
objects.githubusercontent.com:443 | |
nodejs.org:443 | |
registry.npmjs.org:443 | |
- name: Run code style check | |
uses: myrotvorets/composite-actions/node-run-script@09d255375687c98c9cf23c50104bebb44d281923 | |
with: | |
script: lint | |
typecheck: | |
name: TypeScript Check | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
disable-sudo: true | |
egress-policy: block | |
allowed-endpoints: > | |
api.github.com:443 | |
github.com:443 | |
objects.githubusercontent.com:443 | |
nodejs.org:443 | |
registry.npmjs.org:443 | |
- name: Run type check | |
uses: myrotvorets/composite-actions/node-run-script@09d255375687c98c9cf23c50104bebb44d281923 | |
with: | |
script: typecheck |