From 910a717230562f31c1f01cba52b0276c29d8171e Mon Sep 17 00:00:00 2001 From: sadnub Date: Wed, 27 Apr 2022 21:26:40 -0400 Subject: [PATCH] add name to gh action --- .github/workflows/frontend-linting.yml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/.github/workflows/frontend-linting.yml b/.github/workflows/frontend-linting.yml index b01a320a..cabe9aa9 100644 --- a/.github/workflows/frontend-linting.yml +++ b/.github/workflows/frontend-linting.yml @@ -1,17 +1,16 @@ +name: Frontend Linting and Formatting on: push: - branches: - - ["develop"] + branches: [develop] pull_request: - branches: - - ["develop"] + branches: [develop] jobs: - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 16 - - run: npm install - - run: npm lint - - run: npm format + lint: + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 14 + - run: npm install + - run: npm test