Skip to content

chore(deps): update dependency prettier to v3 #873

chore(deps): update dependency prettier to v3

chore(deps): update dependency prettier to v3 #873

Workflow file for this run

name: Tests
on: [pull_request]
env:
CI: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
uses: bahmutov/npm-install@v1
- name: Run build
run: "npm run build"
- name: Archive build output
uses: actions/upload-artifact@v3
with:
name: build
path: dist
retention-days: 1
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
uses: bahmutov/npm-install@v1
- name: Run linting
run: 'npm run test:lint'
unit:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
uses: bahmutov/npm-install@v1
- name: Run unit tests
run: 'npm run test:unit'
e2e:
runs-on: ubuntu-latest
needs: build
env:
TESTCAFE_BROWSER: 'chrome:headless'
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
uses: bahmutov/npm-install@v1
- name: Download build artifact
uses: actions/download-artifact@v3
with:
name: build
path: dist
- name: Setup Chrome
uses: browser-actions/setup-chrome@latest
- name: Run e2e tests
run: 'npm run test:e2e'
- name: Archive allure reporter output
uses: actions/upload-artifact@v3
with:
name: allure
path: allure
retention-days: 1
integration:
runs-on: ubuntu-latest
needs: e2e
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
uses: bahmutov/npm-install@v1
- name: Download build artifact
uses: actions/download-artifact@v3
with:
name: allure
path: allure
- name: Run integration tests
run: 'npm run test:integration'