chore: sonar configuration #106
Workflow file for this run
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 | |
on: | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
install: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Use Node.js 14C | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14 | |
- run: yarn --frozen-lockfile | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 14 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14 | |
- run: yarn | |
- run: yarn run test | |
- run: yarn build | |
- name: Upload build | |
uses: actions/upload-artifact@v2 | |
with: | |
name: build | |
path: build |