Rewards update #788
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 Standard Checks | |
on: | |
pull_request: | |
# paths: | |
# - '!apps/token-list/**' | |
jobs: | |
linter: | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: Set up Node environment | |
uses: actions/setup-node@v3 | |
with: | |
node-version: v18.17.1 | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
working-directory: ./apps/connect | |
run: npm ci | |
- name: Run linter | |
working-directory: ./apps/connect | |
run: npm run lint | |
prettier: | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: Set up Node environment | |
uses: actions/setup-node@v3 | |
with: | |
node-version: v18.17.1 | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
working-directory: ./apps/connect | |
run: npm ci | |
- name: Run prettier | |
working-directory: ./apps/connect | |
run: npm run prettier | |
test: | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: Set up Node environment | |
uses: actions/setup-node@v3 | |
with: | |
node-version: v18.17.1 | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
working-directory: ./apps/connect | |
run: npm ci | |
- name: Run tests | |
working-directory: ./apps/connect | |
run: npm run test |