feat: user attribute, identity, and custom event processing with unit tests #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Web Kit SDK Build & Test | |
on: pull_request | |
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: 20.x | |
- name: Run NPM CI | |
run: npm ci | |
- name: Build Files | |
run: npm run build | |
- name: Run Core tests | |
run: npm run testKarma | |
- name: Archive npm failure logs | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: npm-logs | |
path: ~/.npm/_logs |