Skip to content

github workflow nodejs CI #1

github workflow nodejs CI

github workflow nodejs CI #1

Workflow file for this run

name: Node.js CI
on:
push:
env:
NODE_ENV: test
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [18.18]
steps:
- uses: actions/checkout@v3
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Check for formatting
run: npm run format:check
- name: Check for linting
run: npm run lint:check
- name: Run tests
run: npm test
- name: Runt e2e tests
run: npm run test:e2e