diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 681a9e801..d4e6efd32 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "fable": { - "version": "4.23.0", + "version": "4.27.0", "commands": [ "fable" ] diff --git a/.github/workflows/fable.yml b/.github/workflows/fable.yml index 6cd83b6e9..bc2a52fa7 100644 --- a/.github/workflows/fable.yml +++ b/.github/workflows/fable.yml @@ -9,7 +9,7 @@ on: jobs: testfable4: - runs-on: ubuntu-latest + runs-on: windows-latest steps: - uses: actions/checkout@v2 @@ -26,20 +26,12 @@ jobs: 6.0.x - name: Restore tools run: dotnet tool restore - - name: Install jq - uses: dcarbone/install-jq-action@v1.0.1 - - name: Install fable - run: | - version=`cat ./.config/dotnet-tools.json | jq --raw-output '.tools.fable.version'` - dotnet tool install --global Fable --version $version - - name: Use Node.js - uses: actions/setup-node@v1 - with: - node-version: '18.x' + - name: Setup Node.js environment + uses: actions/setup-node@v5 - name: Install npm dependencies working-directory: tests/FSharpPlusFable.Tests run: npm install - name: Run Fable tests working-directory: tests/FSharpPlusFable.Tests - run: fable . --outDir bin --runScript ./bin + run: dotnet fable . --outDir bin --runScript ./bin /d diff --git a/src/FSharpPlus/Control/Comonad.fs b/src/FSharpPlus/Control/Comonad.fs index e476c79f0..1b92d19c3 100644 --- a/src/FSharpPlus/Control/Comonad.fs +++ b/src/FSharpPlus/Control/Comonad.fs @@ -7,7 +7,7 @@ open System.Threading.Tasks open FSharpPlus open FSharpPlus.Extensions open FSharpPlus.Internals -#if !FABLE_COMPILER4 +#if !FABLE_COMPILER_4 // Comonad class ---------------------------------------------------------- diff --git a/tests/FSharpPlusFable.Tests/package.json b/tests/FSharpPlusFable.Tests/package.json index 4572c8daf..a2531bd1d 100644 --- a/tests/FSharpPlusFable.Tests/package.json +++ b/tests/FSharpPlusFable.Tests/package.json @@ -2,7 +2,7 @@ "private": true, "type": "module", "scripts": { - "test": "fable . --outDir bin --runScript ./bin /d", + "test": "dotnet fable . --outDir bin --runScript ./bin /d", "test_debug": "node --eval \"require('esm')(module)('./bin/./Tests.js')\" ./bin/./Tests.js ./bin /d" }, "name": "tests"