Initial changes to remove webpack with vite and added some depencies … #650
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: Linting | |
on: | |
- push | |
- pull_request | |
jobs: | |
eslint: | |
name: EsLint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Export node version | |
id: node_version | |
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc) | |
- name: Setup node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ steps.node_version.outputs.NODE_VERSION }} | |
- name: Install | |
run: yarn install | |
- name: Run yarn lint | |
run: yarn lint | |
- name: Check prettier | |
run: yarn prettier-check |