Skip to content

selectable wip and bugfix column selector on-click #55

selectable wip and bugfix column selector on-click

selectable wip and bugfix column selector on-click #55

name: Component Tests
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
on:
push:
branches:
- '*'
tags:
- '*'
defaults:
run:
working-directory: ./code
jobs:
component-test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache node modules
id: cache-npm
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Cache local M2 repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-lein-${{ hashFiles('**/project.clj') }}
restore-keys: |
${{ runner.os }}-lein-
- name: Cache local M2 repository
- uses: actions/setup-node@v4
with:
node-version: '18.x'
- name: Install dependencies
run: npm install
- name: Install Playwright
run: npx playwright install --with-deps
- name: Build Portfolio
run: lein build-portfolio
- name: Serve Portfolio and run tests
run: npm run test:components:ci
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright
path: code/playwright-report/
retention-days: 30