Skip to content

Merge pull request #220 from rimbu-org/dependabot/npm_and_yarn/follow… #371

Merge pull request #220 from rimbu-org/dependabot/npm_and_yarn/follow…

Merge pull request #220 from rimbu-org/dependabot/npm_and_yarn/follow… #371

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 }}