yunohost-admin/.github/workflows/eslint.yml
Metin Bektas 1e4756ca28
chore: update actions version to use node 16 version
Node 12 version is deprecated since April 2022.

> Node.js 12 actions are deprecated. For more information see: [github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12](https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/). Please update the following actions to use Node.js 16: actions/checkout@v2, actions/setup-python@v2
2023-10-31 10:56:22 +01:00

17 lines
283 B
YAML

name: ESlint
on:
push:
branches:
- dev
pull_request:
jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install npm dependencies
run: cd app && npm ci
- name: Run linter
run: cd app && npm run lint