Merge branch 'main' of https://github.com/kontent-ai/rich-text-resolv… #166
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: Test & build | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js from .nvmrc file | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: ".nvmrc" | |
- run: npm ci | |
- run: npm run lint | |
- run: npm run test:coverage | |
- run: npm run build | |
- run: npm run fmt:check | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 |