Skip to content

build(deps): bump cross-spawn from 7.0.3 to 7.0.6 (#46) #166

build(deps): bump cross-spawn from 7.0.3 to 7.0.6 (#46)

build(deps): bump cross-spawn from 7.0.3 to 7.0.6 (#46) #166

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
jobs:
Linting:
name: Running ESLint
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
- name: Add problem matcher
run: echo "::add-matcher::.github/problemMatchers/eslint.json"
- name: Use Node.js v20
uses: actions/setup-node@v3
with:
node-version: 20
cache: yarn
- 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@v4
- name: Add problem matcher
run: echo "::add-matcher::.github/problemMatchers/tsc.json"
- name: Use Node.js v20
uses: actions/setup-node@v3
with:
node-version: 20
cache: yarn
- name: Install Dependencies
run: yarn --immutable
- name: Typecheck code
run: yarn typecheck
- name: Build Code
run: yarn build
Testing:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
- name: Use Node.js v20
uses: actions/setup-node@v3
with:
node-version: 20
cache: yarn
- name: Install Dependencies
run: yarn --immutable
- name: Test
run: yarn test