revert commit #14
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: Linting, testing and building | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
pipeline: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [ 17.x ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Starting Node.js ${{matrix.node-version}} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{matrix.node-version}} | |
- name: install modules | |
run: npm install | |
- name: build project | |
run: npm run build:prod | |
- name: Linting | |
run: npm run lint:ts | |
- name: Linting css | |
run: npm run lint:scss | |
- name: Unit tests | |
run: npm run test:unit | |
# - name: Build storybook | |
# run: npm run storybook:build | |
# - name: Screenshot tests | |
# run: npm run test:ui:ci | |
# - name: Generate HTML Loki Report | |
# run: npm run test:ui:report |