Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit bbf7f1e

Browse files
authored
Add CI test for cortex js (#707)
Co-authored-by: Hien To <tominhhien97@gmail.com>
1 parent c856580 commit bbf7f1e

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI test for cortex-js
2+
on:
3+
pull_request:
4+
paths:
5+
- "cortex-js/**"
6+
- .github/workflows/cortex-js-quality-gate.yml
7+
workflow_dispatch:
8+
jobs:
9+
build-and-publish-plugins:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
with:
14+
fetch-depth: "0"
15+
16+
# Setup .npmrc file to publish to npm
17+
- uses: actions/setup-node@v3
18+
with:
19+
node-version: "20.x"
20+
registry-url: "https://registry.npmjs.org"
21+
- run: yarn install && yarn build
22+
working-directory: ./cortex-js
23+
- run: yarn test
24+
name: run tests
25+
working-directory: ./cortex-js

0 commit comments

Comments
 (0)