Add experimental playwright proof-of-concept #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: End-2-end-test H5P content type | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: End-to-end test | |
run: | | |
npm ci | |
npm run build --if-present | |
npm run test --if-present |