mrc-6180 Add vite and other updates #34
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
# This workflow is based on the npm template: https://github.com/actions/starter-workflows/blob/main/ci/node.js.yml | |
name: build-and-test | |
on: | |
push: | |
branches: | |
- main | |
- master | |
- gha | |
pull_request: | |
branches: | |
- main | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 15.x | |
- run: npm install | |
- run: npm run-script build | |
- run: npm install codecov -g | |
- run: npm run-script test | |
- run: npm run-script lint | |
- run: npm run-script docs | |
- uses: codecov/codecov-action@v1 | |
with: | |
files: coverage/*.json |