Skip to content

Commit 7c663ab

Browse files
authored
Merge pull request #482 from ethereum/refactor-field-mappings
Refactor API handlers to use centralized Salesforce field mappings
2 parents 77d48e8 + 1111195 commit 7c663ab

File tree

8 files changed

+522
-389
lines changed

8 files changed

+522
-389
lines changed

.github/workflows/ci.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
17+
- name: Setup pnpm
18+
uses: pnpm/action-setup@v4
19+
with:
20+
version: 9
21+
22+
- name: Setup Node.js
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: '20'
26+
cache: 'pnpm'
27+
28+
- name: Install dependencies
29+
run: pnpm install --frozen-lockfile
30+
31+
- name: Run linter
32+
run: pnpm run lint
33+
34+
- name: Run type check
35+
run: pnpm run type-check
36+
37+
- name: Run tests
38+
env:
39+
SF_PROD_LOGIN_URL: ${{ secrets.SF_PROD_LOGIN_URL }}
40+
SF_PROD_USERNAME: ${{ secrets.SF_PROD_USERNAME }}
41+
SF_PROD_PASSWORD: ${{ secrets.SF_PROD_PASSWORD }}
42+
SF_PROD_SECURITY_TOKEN: ${{ secrets.SF_PROD_SECURITY_TOKEN }}
43+
run: pnpm test

0 commit comments

Comments
 (0)