Skip to content

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

Update eslint.yml

Abdullah Attaf829eb39c8fc
diff --git a/apps/web/.github/workflows/eslint.yml b/apps/web/.github/workflows/eslint.yml
index 482da685c..bcc689006 100644
--- a/apps/web/.github/workflows/eslint.yml
+++ b/apps/web/.github/workflows/eslint.yml
@@ -1,12 +1,31 @@
-name: Lint
+# This is a basic workflow to help you get started with Actions
-on: pull_request
+name: ESLint
+# Controls when the action will run. Triggers the workflow on push or pull request
+# events but only for the master branch
+on:
+ pull_request:
+ branches: [master]
+
+# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
- eslint:
+ # This workflow contains a single job called "build"
+ lint:
+ # The type of runner that the job will run on
runs-on: ubuntu-latest
+ # Steps represent a sequence of tasks that will be executed as part of the job
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- - uses: actions/checkout@v1
- - uses: 18F/[email protected]
+ - name: ESLint
+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
+ - uses: actions/checkout@v2
+ - uses: webfactory/[email protected]
+ with:
+ ssh-private-key: ${{ secrets.GH_SSH_KEY }}
+ - uses: actions/setup-node@v1
with:
- repo-token: ${{ secrets.GITHUB_TOKEN }}
+ node-version: 12.x
+ - run: npm install
+ - uses: hallee/eslint-action@master