Skip to content

fix: region needed for github CI #18

fix: region needed for github CI

fix: region needed for github CI #18

Workflow file for this run

name: EcoTrack CI
on:
push:
branches:
- "*"
pull_request:
branches:
- main
jobs:
quality:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20
cache: "npm"
- name: Install dependencies
run: npm ci
- name: TypeScript check
run: npx tsc --noEmit
- name: Run tests
run: npm test -- --coverage
build:
needs: quality
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build