diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 41539ba..4bb23fa 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest continue-on-error: false steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: submodules: 'recursive' @@ -50,4 +50,4 @@ jobs: - name: moon test run: | - moon test --target js,native \ No newline at end of file + moon test --target js,native diff --git a/cors/moon.pkg b/cors/moon.pkg index 738b150..16167c0 100644 --- a/cors/moon.pkg +++ b/cors/moon.pkg @@ -5,3 +5,5 @@ import { // Suppress warning 20 from MoonBit's generated native test driver. warnings = "-20" + +supported_targets = "+js+native" diff --git a/moon.pkg b/moon.pkg index f910147..aba3d8f 100644 --- a/moon.pkg +++ b/moon.pkg @@ -22,6 +22,8 @@ import { warnings = "-15-29" +supported_targets = "+js+native" + options( expose: [ "__ws_emit_js", diff --git a/static_file/moon.pkg b/static_file/moon.pkg index f763feb..0823313 100644 --- a/static_file/moon.pkg +++ b/static_file/moon.pkg @@ -6,3 +6,5 @@ import { // Suppress warning 20 from MoonBit's generated native test driver. warnings = "-20" + +supported_targets = "+js+native"