Merge pull request #291 from torchiaf/fix/277 #12
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: Dashboard - Tests | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- dashboard/** | |
pull_request: | |
branches: | |
- main | |
paths: | |
- dashboard/** | |
workflow_dispatch: | |
environment: | |
description: 'Environment to run tests against' | |
type: environment | |
required: true | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '14.x' | |
- name: Install packages | |
run: yarn install:ci | |
working-directory: dashboard | |
- name: Run linters | |
run: yarn lint | |
working-directory: dashboard |