Skip to content

Feature/EPMUII-10417 Configure e2e tests on playwright #141

Feature/EPMUII-10417 Configure e2e tests on playwright

Feature/EPMUII-10417 Configure e2e tests on playwright #141

Workflow file for this run

# This workflow runs build, lint and test steps.
# Runs on new pull request to "develop" or "master" branches.
name: Build
on:
pull_request:
# The branches below must be a subset of the branches above
branches: [master, develop]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Reconfigure git to use HTTP authentication
run: >
git config --global url."https://github.com/".insteadOf
ssh://git@github.com/
- name: Cache Node.js modules
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
${{ runner.OS }}-
- run: node --version
- run: npm --version
- run: npm ci
- run: npm run build
- run: npm run lint
- run: npm test