Skip to content

Create Personae Character Template.json #1186

Create Personae Character Template.json

Create Personae Character Template.json #1186

Workflow file for this run

# https://docs.github.com/en/free-pro-team@latest/actions/reference/context-and-expression-syntax-for-github-actions
name: Integration Tests
on:
push:
branches: [master]
pull_request:
branches:
- "**"
jobs:
cypress-run:
runs-on: ubuntu-latest
steps:
# Checkout
- name: Checkout
uses: actions/checkout@v2
# Use Node
- name: Use Node
uses: actions/setup-node@v2
with:
node-version: "18"
# Cache
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
# Install
- name: Install
run: npm install
# Build
- name: Build
run: npm run build
# Install NPM dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run
uses: cypress-io/github-action@v5
with:
start: npm run serve:build
- name: Upload Cypress Videos
uses: actions/upload-artifact@v3
if: always()
with:
name: cypress-videos
path: cypress/videos
- name: Upload Cypress Screenshots
uses: actions/upload-artifact@v3
if: always()
with:
name: cypress-screenshots
path: cypress/screenshots