Skip to content

HHpred: update PDB_mmCIF70 and PDB_mmCIF30 #1056

HHpred: update PDB_mmCIF70 and PDB_mmCIF30

HHpred: update PDB_mmCIF70 and PDB_mmCIF30 #1056

Workflow file for this run

name: Frontend
on:
push:
branches:
- master
- develop
pull_request_target:
branches:
- master
- develop
jobs:
build-frontend:
runs-on: ubuntu-latest
name: Build & test with Node 16
steps:
- name: Git checkout
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache Yarn
uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install frontend dependencies
working-directory: ./frontend
run: yarn install
- name: Run frontend tests
working-directory: ./frontend
run: yarn run test:unit
eslint:
runs-on: ubuntu-latest
name: Lint with ESLint and Prettier
steps:
- name: Git checkout
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache Yarn
uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install frontend dependencies
working-directory: ./frontend
run: yarn install
- name: Run linters
uses: wearerequired/lint-action@v2
with:
# auto_fix: true
eslint: true
eslint_dir: ./frontend/src
eslint_extensions: ts,vue
prettier: true
prettier_dir: ./frontend/src