Skip to content

feat: Refactor Actions and fix docker #27

feat: Refactor Actions and fix docker

feat: Refactor Actions and fix docker #27

Workflow file for this run

name: Build npm package
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
npm-build:
environment:
name: codecov-bmssp
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
matrix:
node-version: [24.x]
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run linting
run: npm run lint
- name: Run tests
run: npm run test
- name: Upload results to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}