File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed
Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 77 # Allows you to run this workflow manually from the Actions tab
88 workflow_dispatch :
99
10+ env :
11+ DATA_DIR : cypress/yaml
12+ CYPRESS_BASE_URL : " http://localhost:8181"
13+
1014jobs :
15+ cypress-test :
16+ runs-on : ubuntu-latest
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@v4
20+ - name : Composer
21+ uses : php-actions/composer@v6
22+ - name : npm build
23+ uses : actions/setup-node@v4
24+ with :
25+ node-version : 23
26+ - run : npm ci
27+ - run : npm run build --if-present
28+ - name : Cypress run
29+ uses : cypress-io/github-action@v6
30+ with :
31+ start : composer run start
1132 release :
33+ needs : cypress-test
34+ if : github.ref_type == 'tag' && startsWith(github.ref_name, 'v')
1235 runs-on : ubuntu-latest
1336 steps :
1437 - uses : actions/checkout@master
1740 - uses : actions/setup-node@v4
1841 with :
1942 node-version : 23
20- - run : npm ci
43+ - run : npm ci --omit-dev
2144 - run : npm run build
2245 - name : build
2346 run : |
You can’t perform that action at this time.
0 commit comments