fix test , update code formatter #120
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: UI PR | |
on: | |
pull_request: | |
branches: main | |
jobs: | |
ui-pr: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
working-directory: ui | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "18.16.1" | |
- name: Install Yarn | |
run: | | |
corepack enable | |
corepack prepare yarn@stable --activate | |
- name: yarn install | |
run: yarn install --immutable | |
- name: Run Tests | |
run: yarn test | |
- name: Run ESLint | |
run: yarn lint | |
- name: Danger | |
run: yarn danger ci | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |