Skip to content

Move ci dependencies to devDependencies (#16) #34

Move ci dependencies to devDependencies (#16)

Move ci dependencies to devDependencies (#16) #34

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
jobs:
setup-node-modules:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Git Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install Dependencies
run: npm install
lint:
name: Linting
runs-on: ubuntu-latest
needs: setup-node-modules
steps:
- name: Git Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install Dependencies
run: npm install
- name: Run Linting
run: npm run lint
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
needs: setup-node-modules
steps:
- name: Git Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install Dependencies
run: npm install
- name: Run Tests
run: npm run test:unit
e2e-tests:
name: E2E Tests
runs-on: ubuntu-latest
needs: setup-node-modules
steps:
- name: Git Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install Dependencies
run: npm install
- name: Run Tests
run: npm run test:e2e
type-tests:
name: Type Tests
runs-on: ubuntu-latest
needs: setup-node-modules
steps:
- name: Git Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install Dependencies
run: npm install
- name: Run Tests
run: npm run test:types