-
Notifications
You must be signed in to change notification settings - Fork 3
38 lines (30 loc) · 922 Bytes
/
pull-request.yml
File metadata and controls
38 lines (30 loc) · 922 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
name: Web Kit SDK Build & Test
on: pull_request
# Kit is split into Client and Server packages
# We only need to run our workflows against GA4Client
defaults:
run:
working-directory: packages/GA4Client
jobs:
build-and-test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: NPM install
uses: actions/setup-node@v4
with:
node-version: 24.x
- name: Run NPM CI
run: npm ci
- name: Build Files
run: npm run build
- name: Run Core tests
run: npm run test
- name: Archive npm failure logs
uses: actions/upload-artifact@v4
if: failure()
with:
name: npm-logs
path: ~/.npm/_logs