This repository has been archived by the owner on Jul 12, 2023. It is now read-only.
chore(deps): bump json5 from 2.2.0 to 2.2.3 #771
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: Tests | |
on: [push, pull_request] | |
jobs: | |
lint: | |
name: ESLint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install Node v16 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
cache: npm | |
- name: Install dependencies | |
run: npm ci | |
- name: Run ESLint | |
run: npm run lint | |
typescript: | |
name: TypeScript | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install Node v16 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
cache: npm | |
- name: Install dependencies | |
run: npm ci | |
- name: Register Problem Matcher | |
run: echo "##[add-matcher].github/tsc.json" | |
- name: Run TypeScript compiler | |
run: npm run build | |
tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install Node v16 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
cache: npm | |
- name: Install dependencies | |
run: npm ci | |
- name: Run Tests | |
run: npm run test:ci | |
- name: Upload Coverage | |
uses: codecov/codecov-action@v1 |