chore(deps): Bump github/codeql-action from 1 to 2 #479
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
# This workflow will do a clean install of node dependencies, build the source code and run tests | |
name: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
NODE_VERSION: '16' | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ env.NODE_VERSION }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- run: npm i | |
- run: npm run lint | |
- run: npm run build | |
- run: npm run test | |
- run: npm run docs | |
- name: Codecov | |
uses: codecov/[email protected] | |
with: | |
directory: ./build/coverage | |
flags: unittests | |
fail_ci_if_error: true |