wip #3047
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: CI | |
on: | |
push: | |
branches-ignore: | |
# Ignore branches automatically created by github-rebase | |
- rebase-pull-request** | |
- cherry-pick-rebase-pull-request** | |
jobs: | |
eslint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
**/node_modules | |
key: ${{ hashFiles('**/yarn.lock') }} | |
- name: Install modules | |
run: yarn install --frozen-lockfile | |
- name: Run ESLint | |
run: yarn run check:eslint | |
jest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
**/node_modules | |
key: ${{ hashFiles('**/yarn.lock') }} | |
- name: Install modules | |
run: yarn install --frozen-lockfile | |
- name: Build @3yourmind/yoco | |
run: yarn workspace @3yourmind/yoco run build | |
- name: Build @3yourmind/vue-use-tippy | |
run: yarn workspace @3yourmind/vue-use-tippy run build | |
- name: Run tests | |
run: yarn run test | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
**/node_modules | |
key: ${{ hashFiles('**/yarn.lock') }} | |
- name: Install modules | |
run: yarn install --frozen-lockfile | |
- name: Run Prettier | |
run: yarn run check:prettier | |
stylelint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
**/node_modules | |
key: ${{ hashFiles('**/yarn.lock') }} | |
- name: Install modules | |
run: yarn install --frozen-lockfile | |
- name: Run Stylelint | |
run: yarn run check:stylelint | |
unimported: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
**/node_modules | |
key: ${{ hashFiles('**/yarn.lock') }} | |
- name: Install modules | |
run: yarn install --frozen-lockfile | |
- name: Run Unimported | |
run: yarn run check:unimported |