Skip to content

solution

solution #1975

Workflow file for this run

name: Test
on:
pull_request:
branches: [ master ]
jobs:
run_tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
# fix rollup issue
- run: rm -rf node_modules package-lock.json
- run: npm install
- run: npm test -- -l
- name: Upload tests report(cypress mochaawesome merged HTML report)
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: report
path: reports