Skip to content

Merge pull request #162 from toggle-corp/update/add-new-employees #250

Merge pull request #162 from toggle-corp/update/add-new-employees

Merge pull request #162 from toggle-corp/update/add-new-employees #250

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- develop
env:
GITHUB_WORKFLOW: true
jobs:
unimported:
name: Find unimported files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '18.x'
cache: 'yarn'
- name: Install dependencies
run: yarn install --prefer-online
- name: Run unimported
run: yarn unimported
lint:
name: Lint JS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '18.x'
cache: 'yarn'
- name: Install dependencies
run: yarn install --prefer-online
- name: Lint
run: yarn lint
css-lint:
name: Lint CSS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '18.x'
cache: 'yarn'
- name: Install dependencies
run: yarn install --prefer-online
- name: Css Lint
run: yarn css-lint
typecheck:
name: Typecheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '18.x'
cache: 'yarn'
- name: Install dependencies
run: yarn install --prefer-online
- name: Typecheck
run: yarn typecheck
build:
name: Build
needs: [lint, css-lint, typecheck]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '18.x'
cache: 'yarn'
- name: Install dependencies
run: yarn install --prefer-online
- name: Build
run: yarn export