Skip to content

Refactor environment variable handling #5

Refactor environment variable handling

Refactor environment variable handling #5

Workflow file for this run

name: "Build"
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
linting:
name: Static linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
- name: Install NPM dependencies
run: npm ci
- name: ESLint
run: npm run eslint:ci
- name: Prettier
run: npm run prettier:ci
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
- name: Install NPM dependencies
run: npm ci
- name: Tests
run: npm run test:ci
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
- name: Install NPM dependencies
run: npm ci
- name: Build
run: npm run build