Skip to content

Merge pull request #1 from testradar/simplify-retries-implementation #16

Merge pull request #1 from testradar/simplify-retries-implementation

Merge pull request #1 from testradar/simplify-retries-implementation #16

Workflow file for this run

name: Main
on:
push:
branches: ['main']
env:
TESTRADAR_API_KEY: ${{ secrets.TESTRADAR_API_KEY }}
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'npm'
- run: npm ci
- run: npm test
e2e-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'npm'
- name: Cypress Run
uses: cypress-io/github-action@v5
with:
command: npm run e2e
format-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'npm'
- run: npm ci
- run: npx prettier . --check --ignore-unknown