chore(deps): update js/ts dependencies to v7.8.0 #210
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: Static analysis - Check format and run linter | |
on: | |
push: | |
paths: | |
- src/** | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
# Exclude in-repo PRs from running this job | |
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 | |
- name: Setup Node.js 16 | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4 | |
with: | |
node-version: 16.x | |
cache: npm | |
- name: Install npm development dependencies | |
run: npm install | |
- name: Check format | |
run: npm run format-check | |
- name: Run ESLint | |
run: npm run lint |