c66d7ed489
* Use new eslint rules and apply fixes. Use new logo component and shared theme + webpack config. * Add shared component to display a copy icon and copy to clipboard with confirmation state * Organise imports * Add copy mixnode identity key to list of mixnodes and detail view * Update nvm node version to 16 * Update GitHub Actions for Network Explorer to use yarn and yarn workspaces * Switch favicon for smaller N icon * Update README * Add error boundary
24 lines
497 B
YAML
24 lines
497 B
YAML
name: Linting for Network Explorer (eslint/prettier)
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'explorer/**'
|
|
|
|
defaults:
|
|
run:
|
|
working-directory: explorer
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: custom-runner-linux
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v2
|
|
with:
|
|
node-version: '16'
|
|
- name: Setup yarn
|
|
run: npm install -g yarn
|
|
- name: Run ESLint
|
|
# GitHub should automatically annotate the PR
|
|
run: yarn && yarn lint |