Skip to content

docs: added keywords to package.json #39

docs: added keywords to package.json

docs: added keywords to package.json #39

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
# CI variable is used to detect CI environment for tests to run
- name: Create env file
run: |
touch .env
echo CI=true >> .env
- name: Run Playwright e2e tests (with coverage)
run: npm run test:coverage
# uncomment for artifact usage
# - uses: actions/upload-artifact@v3
# if: always()
# with:
# name: coverage
# path: coverage/
# retention-days: 30
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage/
fail_ci_if_error: true