You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

38 lines
796 B

name: Test LDO Packages
on:
pull_request:
branches: [main]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20' # or whatever Node version you use
- name: Install dependencies
run: npm install
- name: Build package
run: npm run build
- name: Run tests
run: npm test
- name: Upload test results if available
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results
path: |
**/junit*.xml
**/test-results*.xml
**/coverage
if-no-files-found: ignore