@@ -312,63 +312,61 @@ jobs:
312
312
env :
313
313
CHROME_EXECUTABLE : chrome
314
314
315
- # TODO - sass/dart-sass#2329: Re-enable once these errors are resolved.
315
+ sass_parser_tests :
316
+ name : " sass-parser Tests | Dart ${{ matrix.dart_channel }} | Node ${{ matrix.node-version }}"
317
+ runs-on : ubuntu-latest
316
318
317
- # sass_parser_tests:
318
- # name: "sass-parser Tests | Dart ${{ matrix.dart_channel }} | Node ${{ matrix.node-version }}"
319
- # runs-on: ubuntu-latest
319
+ strategy :
320
+ fail-fast : false
321
+ matrix :
322
+ dart_channel : [stable]
323
+ node-version : ['lts/*']
324
+ include :
325
+ # Test older LTS versions
326
+ #
327
+ # TODO: Test on lts/-2 and lts/-3 once they support
328
+ # `structuredClone()` (that is, once they're v18 or later).
329
+ - os : ubuntu-latest
330
+ dart_channel : stable
331
+ node-version : lts/-1
332
+ # Test LTS version with dart dev channel
333
+ - os : ubuntu-latest
334
+ dart_channel : dev
335
+ node-version : ' lts/*'
320
336
321
- # strategy:
322
- # fail-fast: false
323
- # matrix:
324
- # dart_channel: [stable]
325
- # node-version: ['lts/*']
326
- # include:
327
- # # Test older LTS versions
328
- # #
329
- # # TODO: Test on lts/-2 and lts/-3 once they support
330
- # # `structuredClone()` (that is, once they're v18 or later).
331
- # - os: ubuntu-latest
332
- # dart_channel: stable
333
- # node-version: lts/-1
334
- # # Test LTS version with dart dev channel
335
- # - os: ubuntu-latest
336
- # dart_channel: dev
337
- # node-version: 'lts/*'
337
+ steps :
338
+ - uses : actions/checkout@v4
339
+ - uses : ./.github/util/initialize
340
+ with :
341
+ dart-sdk : ${{ matrix.dart_channel }}
342
+ github-token : ${{ github.token }}
343
+ node-version : ${{ matrix.node-version }}
338
344
339
- # steps:
340
- # - uses: actions/checkout@v4
341
- # - uses: ./.github/util/initialize
342
- # with:
343
- # dart-sdk: ${{ matrix.dart_channel }}
344
- # github-token: ${{ github.token }}
345
- # node-version: ${{ matrix.node-version }}
346
-
347
- # - run: dart run grinder pkg-npm-dev
348
- # env: {UPDATE_SASS_SASS_REPO: false}
349
- # - run: npm link
350
- # working-directory: build/npm
351
- # - run: npm install
352
- # working-directory: pkg/sass-parser/
353
- # - run: npm link sass
354
- # working-directory: pkg/sass-parser/
355
- # - name: Run tests
356
- # run: npm test
357
- # working-directory: pkg/sass-parser/
345
+ - run : dart run grinder pkg-npm-dev
346
+ env : {UPDATE_SASS_SASS_REPO: false}
347
+ - run : npm link
348
+ working-directory : build/npm
349
+ - run : npm install
350
+ working-directory : pkg/sass-parser/
351
+ - run : npm link sass
352
+ working-directory : pkg/sass-parser/
353
+ - name : Run tests
354
+ run : npm test
355
+ working-directory : pkg/sass-parser/
358
356
359
- # sass_parser_static_analysis:
360
- # name: "sass-parser Static Analysis"
361
- # runs-on: ubuntu-latest
357
+ sass_parser_static_analysis :
358
+ name : " sass-parser Static Analysis"
359
+ runs-on : ubuntu-latest
362
360
363
- # steps:
364
- # - uses: actions/checkout@v4
365
- # - uses: actions/setup-node@v4
366
- # with: {node-version: 'lts/*'}
367
- # - run: npm install
368
- # working-directory: pkg/sass-parser/
369
- # - name: Run static analysis
370
- # run: npm run check
371
- # working-directory: pkg/sass-parser/
361
+ steps :
362
+ - uses : actions/checkout@v4
363
+ - uses : actions/setup-node@v4
364
+ with : {node-version: 'lts/*'}
365
+ - run : npm install
366
+ working-directory : pkg/sass-parser/
367
+ - name : Run static analysis
368
+ run : npm run check
369
+ working-directory : pkg/sass-parser/
372
370
373
371
# TODO - postcss/postcss#1958: Enable this once PostCSS doesn't have TypeDoc
374
372
# warnings.
0 commit comments