Skip to content

Remove import and use statements #42

Remove import and use statements

Remove import and use statements #42

Workflow file for this run

name: Lint and test
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.16
- run: npm ci
- run: npm run lint
unit-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.16
- run: npm ci
- run: npm run test:unit
cypress-run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Cypress install
uses: cypress-io/github-action@v5
with:
runTests: false
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.16
- run: npm ci
- run: npm run build
- run: npm run preview & npm run test:e2e