Merge pull request #180 from rimbu-org/dependabot/npm_and_yarn/get-fu… #323
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |