Skip to content

4.6.6

4.6.6 #15

Workflow file for this run

name: Node.js CI
on:
push
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
- run: npm run lint
- run: npm run ts
- run: npm run test:unit
e2e-tests:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Install Playwright
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
#chromatic-test:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# with:
# fetch-depth: 0 # Required to retrieve git history
# - name: Install dependencies
# run: npm ci
# - name: Publish to Chromatic
# uses: chromaui/action@v1
# with:
# # Grab this from the Chromatic manage page
# projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}