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

Commit 8932cea

Browse files
committed
Add CI test for cortex js
1 parent c856580 commit 8932cea

File tree

1 file changed

+23
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)