Skip to content

Feature/generic updates #388

Feature/generic updates

Feature/generic updates #388

Workflow file for this run

name: Build all packages
on:
push:
branches:
- main
paths-ignore:
- '**.md'
- 'docs/**'
pull_request:
branches:
- main
paths-ignore:
- '**.md'
- 'docs/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
cache: 'yarn'
# Defaults to the user or organization that owns the workflow file
scope: '@rimbu'
- run: yarn install --frozen-lockfile
- run: yarn format:check
- run: yarn lint
- run: yarn build
# Unfortunately this crashes due to low memory on GitHub runners
# - run: yarn test:types
- run: yarn test:cov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}