Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,31 @@ jobs:
echo One of more Code Analyzer critical or high severity violations found
exit 1

windows-build:
if: github.actor != 'trailheadapps-bot'
runs-on: windows-latest
steps:
- name: "Checkout source code"
uses: actions/checkout@v4

- name: "Setup Node"
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache-dependency-path: force-app/main/react-recipes/uiBundles/reactRecipes/package-lock.json

- name: "Install React app dependencies"
run: npm ci --prefix force-app/main/react-recipes/uiBundles/reactRecipes

- name: "Build"
run: npm run build
working-directory: force-app/main/react-recipes/uiBundles/reactRecipes

- name: "Test"
run: npx vitest --run
working-directory: force-app/main/react-recipes/uiBundles/reactRecipes

scratch-org-test:
runs-on: trailheadapps-Ubuntu
if: github.actor != 'dependabot[bot]'
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,30 @@ jobs:
echo One of more Code Analyzer critical or high severity violations found
exit 1

windows-build:
runs-on: windows-latest
steps:
- name: "Checkout source code"
uses: actions/checkout@v4

- name: "Setup Node"
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache-dependency-path: force-app/main/react-recipes/uiBundles/reactRecipes/package-lock.json

- name: "Install React app dependencies"
run: npm ci --prefix force-app/main/react-recipes/uiBundles/reactRecipes

- name: "Build"
run: npm run build
working-directory: force-app/main/react-recipes/uiBundles/reactRecipes

- name: "Test"
run: npx vitest --run
working-directory: force-app/main/react-recipes/uiBundles/reactRecipes

scratch-org-test:
runs-on: trailheadapps-Ubuntu
if: github.actor != 'dependabot[bot]'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference types="vitest" />
/// <reference types="@testing-library/jest-dom" />
/// <reference types="vitest/globals" />
/// <reference types="vitest-axe/extend-expect" />
import 'vitest';
import 'vitest/globals';
import '@testing-library/jest-dom';
import 'vitest-axe/extend-expect';
Loading