Skip to content

Fix for failing test in Cypress & PHP lint #1

Fix for failing test in Cypress & PHP lint

Fix for failing test in Cypress & PHP lint #1

name: Build Workflow
on:
push:
branches:
- main
pull_request:
branches:
- '*'
jobs:
cypress-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: isbang/[email protected]
with:
down-flags: '--volumes'
- name: Run tests
run: |
cd tests
npm install
npx cypress run
- name: Upload screenshots
if: failure()
uses: actions/upload-artifact@v3
with:
name: screenshots
path: tests/cypress/screenshots/
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build plugin zip file
run: ./build.bash
- uses: actions/upload-artifact@v3
with:
name: komoju-japanese-payments
path: komoju-japanese-payments.zip
retention-days: 1