Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

Update eslint.yml

Abdullah Atta2a569afa2fd7
diff --git a/apps/web/.github/workflows/eslint.yml b/apps/web/.github/workflows/eslint.yml
index 81e164ed1..01cbb4771 100644
--- a/apps/web/.github/workflows/eslint.yml
+++ b/apps/web/.github/workflows/eslint.yml
@@ -9,20 +9,29 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
-
+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ node-version: [8.x, 10.x, 12.x, 13.x]
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
-
- - name: ESLint Action
- uses: stefanoeb/[email protected]
+
+ - name: Use Node.js ${{ matrix.node-version }}
+ uses: actions/setup-node@v1
with:
- files: .
+ node-version: ${{ matrix.node-version }}
+ - run: npm install
+ - run: npm start
+
+ - name: ESLint Action
+ uses: hallee/[email protected]