Files
CPLv4.0/Jenkinsfile

21 lines
451 B
Groovy

pipeline {
agent any
environment {
NODE_PATH = '/var/jenkins_home/.npm/node_modules'
NPM_CONFIG_CACHE = '/var/jenkins_home/.npm'
}
stages {
stage('Install dependencies') {
steps {
sh 'npm install --prefer-offline --no-audit'
}
}
stage('Run Playwright tests') {
steps {
sh 'npx playwright test'
}
}
}
}