Skip to content

A major rewrite for @ekino/veggies 2.0 #186

A major rewrite for @ekino/veggies 2.0

A major rewrite for @ekino/veggies 2.0 #186

Workflow file for this run

name: Continuous integration
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-24.04
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 10
run_install: false
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm run check
- name: Build
run: pnpm run build
- name: Integration tests
run: pnpm run test-func
- name: Unit coverage tests
run: pnpm run test-cover
- name: Coveralls Parallel
env:
COVERALLS_FLAG_NAME: run-${{ matrix.node-version }}
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel: true
continue-on-error: true
coverall:
needs: tests
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true