feat: update README #692
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: Eslint tests | |
on: [push] | |
jobs: | |
eslint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: yarn | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Run eslint | |
run: yarn lint > eslint-results | |
- name: Get eslint results | |
uses: actions/upload-artifact@v1 | |
if: always() | |
with: | |
name: eslint-results | |
path: eslint-results |