Skip to content

chore(deps): update all non-major dev-dependencies #1198

chore(deps): update all non-major dev-dependencies

chore(deps): update all non-major dev-dependencies #1198

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
jobs:
linting:
name: Linting
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Add ESLint Problem Matcher
run: echo "::add-matcher::.github/problemMatchers/eslint.json"
- name: Use Node.js v16
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4
with:
node-version: 16
cache: yarn
registry-url: https://registry.yarnpkg.com
- name: Install Dependencies
run: yarn --immutable
- name: Run ESLint
run: yarn lint --fix=false
building:
name: Compile Source Code
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Add TypeScript Problem Matcher
run: echo "::add-matcher::.github/problemMatchers/tsc.json"
- name: Use Node.js v16
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4
with:
node-version: 16
cache: yarn
registry-url: https://registry.yarnpkg.com
- name: Install Dependencies
if: ${{ !steps.cache-restore.outputs.cache-hit }}
run: yarn --immutable
- name: Build Code
run: yarn build
docs:
name: Generate Documentation
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Use Node.js v16
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4
with:
node-version: 16
cache: yarn
registry-url: https://registry.yarnpkg.com/
- name: Install Dependencies
run: yarn --immutable
- name: Generate Documentation
run: yarn docs
testing:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Use Node.js v16
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4
with:
node-version: 16
cache: yarn
registry-url: https://registry.yarnpkg.com
- name: Install Dependencies
run: yarn --immutable
- name: Run tests
run: yarn test:coverage
- name: Store Code Coverage Report
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4
with:
name: coverage
path: coverage/
upload-coverage-report:
name: Upload coverage report to codecov
needs: [testing]
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
fetch-depth: 2
- name: Download Coverage report
uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4
with:
name: coverage
path: coverage/
- name: Codecov Upload
uses: codecov/codecov-action@4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0 # v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: coverage/