Skip to content

Commit 697753d

Browse files
committed
Include UI tests in CI
1 parent e395bec commit 697753d

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/frontend.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,27 @@ jobs:
106106
path: ui
107107
- name: Run lint
108108
run: yarn lint
109+
test:
110+
needs: install
111+
runs-on: ${{ github.repository_owner == 'grafana' && 'ubuntu-x64' || 'ubuntu-latest' }}
112+
defaults:
113+
run:
114+
working-directory: ui
115+
steps:
116+
- name: Checkout code
117+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
118+
with:
119+
persist-credentials: 'false'
120+
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
121+
with:
122+
node-version: 24
123+
- run: corepack enable
124+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
125+
with:
126+
name: node_modules
127+
path: ui
128+
- name: Run tests
129+
run: yarn test
109130
build:
110131
needs: install
111132
runs-on: ${{ github.repository_owner == 'grafana' && 'ubuntu-x64' || 'ubuntu-latest' }}

0 commit comments

Comments
 (0)