-
Notifications
You must be signed in to change notification settings - Fork 12
42 lines (40 loc) · 1.24 KB
/
windows-tests.yml
File metadata and controls
42 lines (40 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Run tests on Windows
on:
push:
branches:
- main
workflow_dispatch:
jobs:
tests-on-windows:
runs-on: windows-latest
timeout-minutes: 60
permissions:
contents: read
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: actions/setup-node@v6
with:
node-version: 24
- run: npm install -g npm@latest
- run: npm ci --verbose
- run: npx update-browserslist-db@latest
- name: Ng test for studio-web
run: |
npx nx build web-component
npx nx test:once studio-web
- name: Cypress run for web-component
uses: cypress-io/github-action@783cb3f07983868532cabaedaa1e6c00ff4786a8 # v7.1.9
with:
install: true # fails on Windows with install: false
start: |
npx nx serve web-component
npx nx serve-test-data web-component
wait-on: sleep 15 # there is no reliable URL to wait for...
command: npx nx test:once web-component
- run: npx nx extract-i18n studio-web
- run: npx nx check-l10n studio-web
- run: npx nx build ngx-web-component
- run: npx nx build studio-web
- run: npx nx bundle web-component