fix(core/modules): fix vulnerabilities #92
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: Code Style | |
on: [pull_request] | |
permissions: | |
contents: read | |
jobs: | |
prettier: | |
name: Prettier | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@master | |
- uses: actions/setup-node@v2 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'yarn' | |
- name: Install Dependencies | |
run: | | |
yarn --frozen-lockfile | |
- name: Run Prettier | |
run: | | |
yarn prettier | |
eslint: | |
name: ESLint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@master | |
- uses: actions/setup-node@v2 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install Dependencies | |
run: | | |
yarn --frozen-lockfile | |
- name: Run ESLint | |
run: | | |
yarn run eslint |