Skip to content

cypress github action testing #1

cypress github action testing

cypress github action testing #1

Workflow file for this run

name: Tram-Deco Cypress Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
types:
- labeled
jobs:
test:
if: github.event.pull_request.labels.*.name contains 'ci'

Check failure on line 16 in .github/workflows/cypress.yml

View workflow run for this annotation

GitHub Actions / Tram-Deco Cypress Tests

Invalid workflow file

The workflow is not valid. .github/workflows/cypress.yml (Line: 16, Col: 9): Unexpected symbol: 'contains'. Located at position 41 within expression: github.event.pull_request.labels.*.name contains 'ci'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '19'
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test:ci