Skip to content

Commit

Permalink
chore: make eslint optional (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
cawa-93 authored Nov 10, 2020
1 parent 7395f04 commit 463ba11
Show file tree
Hide file tree
Showing 4 changed files with 257 additions and 354 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
# ${{ runner.os }}-node-
- name: Install
run: |
npm ci
npm ci --no-optional
- name: Get Build Number
id: vars
uses: ./.github/actions/get-build-number
Expand All @@ -58,7 +58,7 @@ jobs:
name: build
path: build/*.*
- name: Upload Windows Asar
if: ${{ runner.os == 'Windows' && startsWith(github.event.commits[0].message, 'chore(release)') }}
if: ${{ runner.os == 'Windows' && startsWith(github.event.commits[0].message, 'chore(release)') }}
uses: actions/upload-artifact@v2
with:
name: build
Expand All @@ -81,7 +81,7 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Install
run: |
npm ci
npm ci --no-optional
env:
CI: true
- name: Get Package Version
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
# ${{ runner.os }}-node-
- name: Install
run: |
npm ci
npm ci --no-optional
- name: Download Build
uses: actions/download-artifact@v2
with:
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,13 @@ Clone or fork this project to start.
Once you have your project, and in the project folder:

```sh
# Install dependencies
# Install dependencies with linter
npm install

# OR install dependencies without eslint
npm install --no-optional
```
```sh
# Will start vite server, rollup devserver, and electron to dev!
npm run dev

Expand Down
Loading

0 comments on commit 463ba11

Please sign in to comment.