Skip to content

bacpop-79 add timestamp to saved project #262

bacpop-79 add timestamp to saved project

bacpop-79 add timestamp to saved project #262

Workflow file for this run

name: playwright CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
e2e:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: ./app/client/package-lock.json
- name: get config file
run: |
pwd
cp ./app/server/src/resources/config.json.in.development ./app/server/src/resources/config.json
- name: Run all components
working-directory: .
run: ./scripts/run_test
- name: Install playwright and dependencies
working-directory: ./app/client
run: |
npx playwright install
- name: Run e2e tests
env:
MICROREACT_TOKEN: ${{ secrets.MICROREACT_TOKEN }}
working-directory: ./app/client
run: npx playwright test --reporter=github
- name: Stop all components
working-directory: .
run: ./scripts/stop_test
# - name: tmate session
# if: ${{ failure() }}
# uses: mxschmitt/action-tmate@v3