Skip to content

Better handling of older JS engine version #4

Better handling of older JS engine version

Better handling of older JS engine version #4

Workflow file for this run

name: Quality checks
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
name: Lint (Prettier + ESLint)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup node with version 16
uses: actions/setup-node@v2
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
- name: Run Prettier (Lint)
run: npm run lint:prettier
- name: Run ESLint
run: npm run lint:eslint
test:
name: 'Unit test'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup node with version 16
uses: actions/setup-node@v2
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run test