Skip to content

Bump eslint from 8.57.0 to 9.11.1 #5090

Bump eslint from 8.57.0 to 9.11.1

Bump eslint from 8.57.0 to 9.11.1 #5090

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: node-modules
with:
path: '**/node_modules'
key: octodash-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
octodash-build-${{ env.cache-name }}-
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '14'
- name: Install latest npm
run: sudo npm install -g npm@latest
- name: Installing Dependencies
run: npm ci
- name: Linting Application
run: npm run lint
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: node-modules
with:
path: '**/node_modules'
key: octodash-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
octodash-build-${{ env.cache-name }}-
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '14'
- name: Install latest npm
run: sudo npm install -g npm@latest
- name: Installing Dependencies
run: npm ci
- name: Building Application
run: npm run build:prod
- name: Packaging Application
run: npm run electron:pack