This repository has been archived by the owner on Jun 15, 2023. It is now read-only.
Bump @babel/eslint-parser from 7.21.3 to 7.21.8 #1169
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- develop | |
- master | |
pull_request: | |
branches: | |
- develop | |
- master | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.cache/npm | |
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-npm- | |
- name: Install packages using npm | |
run: npm ci | |
- name: Lint using ESLint | |
run: npm run lint . | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.cache/npm | |
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-npm- | |
- name: Install packages using npm | |
run: npm ci | |
- name: Run tests using Jest | |
run: npm test | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v1 |