Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

feat: add watermark on comments component #223

feat: add watermark on comments component

feat: add watermark on comments component #223

Workflow file for this run

name: Run Checks
on:
pull_request:
types:
- opened
- synchronize
jobs:
test-unit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Install dependencies
run: yarn install
- name: Create a .version.js file
run: |
touch .version.js && echo "echo \"export const version = 'test'\" > .version.js" | bash -
- name: Run tests
run: yarn test:unit:ci --coverage
- name: Code Coverage Report
uses: romeovs/lcov-reporter-action@v0.2.11
with:
github-token: ${{ secrets.TOKEN_GITHUB }}
lcov-file: ./coverage/lcov.info
test-web-components:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Install dependencies
run: yarn install
- name: Create a .version.js file
run: |
touch .version.js && echo "echo \"export const version = 'test'\" > .version.js" | bash -
- name: Run tests
run: yarn test:unit:web-components:coverage
- name: Code Coverage Report
uses: romeovs/lcov-reporter-action@v0.2.11
with:
github-token: ${{ secrets.TOKEN_GITHUB }}
lcov-file: ./coverage-components/lcov.info
build:
runs-on: ubuntu-latest
needs: [test-unit, test-web-components]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Install dependencies
run: yarn install
- name: Create a .version.js file
run: |
touch .version.js && echo "echo \"export const version = 'test'\" > .version.js" | bash -
- name: Build
run: yarn build