-
-
Notifications
You must be signed in to change notification settings - Fork 81
39 lines (35 loc) · 920 Bytes
/
Copy pathci.yml
File metadata and controls
39 lines (35 loc) · 920 Bytes
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
name: CI
on:
workflow_dispatch:
pull_request:
branches: [master, v20, v21, "v*"]
push:
branches: [master, v20, v21, "v*"]
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-test-package:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version: 24.15.0
cache: npm
- run: npm ci
- run: npm run lint
- run: npm test
- run: npm run build:demo
- run: npm audit --omit=dev --audit-level=high
- run: npm run verify:package
- run: npm run verify:consumer
- uses: actions/upload-artifact@v7
with:
name: angular-plotly-package-${{ github.sha }}
path: dist/plotly
if-no-files-found: error
retention-days: 14