mirror of
https://github.com/Instadapp/trustwallet-assets.git
synced 2024-07-29 22:37:31 +00:00
68e0cc6d90
* Add ESLint infrastructure. * Lint auto fixes. * Lint fixes. * Lint fixes. * Add Lint to CI builds. Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
24 lines
494 B
YAML
24 lines
494 B
YAML
name: Pull Request CI
|
|
on:
|
|
push:
|
|
branches:
|
|
- '*'
|
|
- '!master'
|
|
pull_request:
|
|
branches: [master]
|
|
workflow_dispatch:
|
|
jobs:
|
|
pull_request_ci:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: '12.x'
|
|
- uses: bahmutov/npm-install@v1
|
|
- name: Run check (sanity only)
|
|
run: npm run check-sanity
|
|
- name: Run test
|
|
run: npm t
|
|
- name: Run lint
|
|
run: npm run lint |