Skip to content
Closed
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
34 changes: 34 additions & 0 deletions .github/workflows/tests-run.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: tests run

on:
push:
pull_request:

env:
NODE_OPTIONS: --openssl-legacy-provider

jobs:
build:

runs-on: windows-latest

strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci --force
- run: npm test
4 changes: 0 additions & 4 deletions tests/Tests.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
<ProjectReference Include="..\Feliz.Delay\Feliz.Delay.fsproj" />
<ProjectReference Include="..\Feliz.UseElmish\Feliz.UseElmish.fsproj" />
<ProjectReference Include="..\Feliz\Feliz.fsproj" />
<ProjectReference Include="..\Feliz.Recharts\Feliz.Recharts.fsproj" />
<ProjectReference Include="..\Feliz.Markdown\Feliz.Markdown.fsproj" />
<ProjectReference Include="..\Feliz.PigeonMaps\Feliz.PigeonMaps.fsproj" />
<ProjectReference Include="..\Feliz.Popover\Feliz.Popover.fsproj" />
</ItemGroup>
<ItemGroup>
<Compile Include="Fable.ReactTestingLibrary\Types.fs" />
Expand Down
Loading