Skip to content

chore: set up husky for linting and testing #168

chore: set up husky for linting and testing

chore: set up husky for linting and testing #168

Workflow file for this run

name: Build and Test
on:
pull_request:
branches: [main, develop]
push:
branches: [main]
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
build-and-test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Test
run: npm run test
e2e-tests:

Check failure on line 35 in .github/workflows/build-test.yml

View workflow run for this annotation

GitHub Actions / Build and Test

Invalid workflow file

The workflow is not valid. .github/workflows/build-test.yml (Line: 35, Col: 1): Unexpected value 'e2e-tests'
name: E2E Tests
runs-on: ubuntu-latest
needs: build-and-test
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: E2E Tests
run: npm run test:e2e