Merge pull request #671 from doctrine/dependabot/npm_and_yarn/seriali… #149
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: "JS Analysis tools" | |
on: | |
push: | |
paths: | |
- '**.js' | |
- '**.scss' | |
- 'package.json' | |
- 'yarn.lock' | |
- '.github/workflows/js-analysis.yml' | |
pull_request: | |
paths: | |
- '**.js' | |
- '**.scss' | |
- 'package.json' | |
- 'yarn.lock' | |
- '.github/workflows/js-analysis.yml' | |
jobs: | |
code-analysis: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "actions/checkout@v4" | |
- name: "Installation of node" | |
uses: "actions/setup-node@v4" | |
with: | |
node-version: '20.5.1' | |
- name: "yarn install" | |
run: "yarn install" | |
- name: "Run webpack" | |
run: "yarn dev" | |
- name: "Prettier" | |
run: "yarn prettier-check" |