Skip to content

[wip] feat: replace old css variables to new css variables #1488

[wip] feat: replace old css variables to new css variables

[wip] feat: replace old css variables to new css variables #1488

name: Run build and tests
on:
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }} and run build and tests 🔧
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: yarn build:storybook
- run: yarn build
- run: yarn test
- name: Fix code coverage paths on React 🩹
working-directory: ./packages/react-ds/coverage
run: |
sed -i 's/\/home\/runner\/work\/venice\/venice\//\/github\/workspace\//g' lcov.info
- name: Fix code coverage paths on Vue 🩹
working-directory: ./packages/vue-ds/coverage
run: |
sed -i 's/\/home\/runner\/work\/venice\/venice\//\/github\/workspace\//g' lcov.info
- name: SonarCloud Scan 🚨
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.DEPLOY_GHPAGES }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}