|
|
@ -12,6 +12,7 @@ env:
|
|
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
jobs:
|
|
|
|
Tests:
|
|
|
|
Tests:
|
|
|
|
|
|
|
|
permissions: {}
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
timeout-minutes: 15
|
|
|
|
timeout-minutes: 15
|
|
|
|
strategy:
|
|
|
|
strategy:
|
|
|
@ -41,6 +42,7 @@ jobs:
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
CI: true
|
|
|
|
CI: true
|
|
|
|
Lint:
|
|
|
|
Lint:
|
|
|
|
|
|
|
|
permissions: {}
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
timeout-minutes: 5
|
|
|
|
timeout-minutes: 5
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
@ -61,6 +63,7 @@ jobs:
|
|
|
|
if: (${{ success() }} || ${{ failure() }}) # ensures this step runs even if previous steps fail
|
|
|
|
if: (${{ success() }} || ${{ failure() }}) # ensures this step runs even if previous steps fail
|
|
|
|
run: pnpm build && { [ "`git status --porcelain=v1`" == "" ] || (echo "Generated types have changed — please regenerate types locally with `cd packages/svelte && pnpm generate:types` and commit the changes after you have reviewed them"; git diff; exit 1); }
|
|
|
|
run: pnpm build && { [ "`git status --porcelain=v1`" == "" ] || (echo "Generated types have changed — please regenerate types locally with `cd packages/svelte && pnpm generate:types` and commit the changes after you have reviewed them"; git diff; exit 1); }
|
|
|
|
Benchmarks:
|
|
|
|
Benchmarks:
|
|
|
|
|
|
|
|
permissions: {}
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
timeout-minutes: 15
|
|
|
|
timeout-minutes: 15
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|