Skip to content

fix(build): fix github workflow #7

fix(build): fix github workflow

fix(build): fix github workflow #7

Workflow file for this run

name: Test and coverage action
on:
push:
branches:
- master
jobs:
coverage:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['22.x']
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run test
env:
MOYSKLAD_TOKEN: ${{ secrets.MOYSKLAD_TOKEN }}
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}