Skip to content

Merge pull request #182 from rimbu-org/dependabot/npm_and_yarn/postcs… #325

Merge pull request #182 from rimbu-org/dependabot/npm_and_yarn/postcs…

Merge pull request #182 from rimbu-org/dependabot/npm_and_yarn/postcs… #325

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@v3
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
cache: 'yarn'
# Defaults to the user or organization that owns the workflow file
scope: '@rimbu'
- run: yarn
- 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 }}