Skip to content

Commit

Permalink
Merge pull request #9 from design-sparx/ft/test-workflow
Browse files Browse the repository at this point in the history
fix:
  • Loading branch information
kelvink96 authored Sep 26, 2023
2 parents 9bdab72 + be68950 commit 5028845
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .changeset/olive-glasses-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"antd-multi-dashboard": patch
---

## Updated
- updated test.yml to use minimum node v16
15 changes: 11 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,18 @@ jobs:
- '16.x'
- '18.x' # whichever node versions you support
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm test

- name: Clean install dependencies
run: npm ci

- name: Build application
run: npm run build --if-present

- name: Test
run: npm test

0 comments on commit 5028845

Please sign in to comment.