pull/429/head
Ben Royce 2023-12-05 08:29:05 -05:00 zatwierdzone przez GitHub
rodzic c52cb49291
commit 004dc2c820
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 60 dodań i 60 usunięć

Wyświetl plik

@ -8,74 +8,74 @@ concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
test-api:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16.13.x
#jobs:
# test-api:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Setup node
# uses: actions/setup-node@v3
# with:
# node-version: 16.13.x
- name: Install
run: yarn
# - name: Install
# run: yarn
- name: Build
run: yarn build
# - name: Build
# run: yarn build
- name: Run API tests
run: yarn test
# - name: Run API tests
# run: yarn test
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16.13.x
# lint:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Setup node
# uses: actions/setup-node@v3
# with:
# node-version: 16.13.x
- name: Install
run: yarn && yarn --cwd frontend
# - name: Install
# run: yarn && yarn --cwd frontend
- name: Check formatting
run: yarn pretty
# - name: Check formatting
# run: yarn pretty
- name: Check backend linting
run: yarn lint:backend
# - name: Check backend linting
# run: yarn lint:backend
- name: Check functions linting
run: yarn lint:functions
# - name: Check functions linting
# run: yarn lint:functions
- name: Check frontend linting
run: yarn lint:frontend
# - name: Check frontend linting
# run: yarn lint:frontend
- name: Check frontend types
run: yarn --cwd types-check
# - name: Check frontend types
# run: yarn --cwd types-check
test-ui:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16.13.x
- name: Install dependencies
run: yarn
- name: Run App in the background
run: yarn ci-dev-test-ui &
- name: Install Playwright Browsers
run: yarn playwright install --with-deps
- name: Run Playwright tests
run: yarn playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
# test-ui:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Setup node
# uses: actions/setup-node@v3
# with:
# node-version: 16.13.x
# - name: Install dependencies
# run: yarn
# - name: Run App in the background
# run: yarn ci-dev-test-ui &
# - name: Install Playwright Browsers
# run: yarn playwright install --with-deps
# - name: Run Playwright tests
# run: yarn playwright test
# - uses: actions/upload-artifact@v3
# if: always()
# with:
# name: playwright-report
# path: playwright-report/
# retention-days: 30