mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-28 20:48:52 +03:00
30 lines
727 B
YAML
30 lines
727 B
YAML
# Copyright 2019-2021 Tauri Programme within The Commons Conservancy
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
name: eslint check
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- '.github/workflows/js-lint.yml'
|
|
- 'tooling/cli.js/**'
|
|
|
|
jobs:
|
|
eslint-check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: '12'
|
|
- name: install deps via yarn
|
|
working-directory: ./tooling/cli.js/
|
|
run: yarn
|
|
- name: run eslint
|
|
working-directory: ./tooling/cli.js/
|
|
run: yarn lint
|
|
- name: run prettier
|
|
working-directory: ./tooling/cli.js/
|
|
run: yarn format:check
|