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