refactor: more ci changes #3568
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: Lint | |
on: [push] | |
jobs: | |
lint: | |
name: Lint Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
id: checkout-code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
- name: Install Dependencies | |
run: yarn | |
- name: Masterfile | |
run: yarn masterfile | |
- name: Lint | |
run: yarn eslint | |
- name: Prettier | |
run: yarn prettier | |
- name: Build | |
run: yarn build |