Files
website/.github/workflows/build.yml
T
dependabot[bot] 2b73e71ea3 build(deps): bump actions/setup-node from 3 to 6 (#12)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 6.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v6)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-17 10:27:35 +00:00

45 lines
885 B
YAML

name: build
on:
push:
branches: ['main']
pull_request: {}
workflow_call: {}
workflow_dispatch: {}
jobs:
build:
runs-on: ubuntu-latest
name: Build
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v6
with:
node-version: 'lts/*'
cache: 'npm'
- name: Install production dependencies
run: npm ci --omit=dev
- name: Build (production)
run: npm run build:prod
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Lint
run: npm run lint
- name: Test and generate coverage report
run: npm run test:coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: m-tartari/m-tartari