Skip to content

[v4.0.11]

[v4.0.11] #19

name: JavaScript CI
on:
push:
branches:
- develop
- main
pull_request:
branches:
- develop
- main
jobs:
js-ci:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- run: pnpm install
- run: pnpm lint
- run: pnpm build
- run: pnpm test run -- --coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./src/coverage/coverage-final.json