Skip to content

CI: matrix testing: test with Node 14 and Node 16#53

Merged
roedoejet merged 4 commits intomasterfrom
dev.matrix-testing
Jan 3, 2023
Merged

CI: matrix testing: test with Node 14 and Node 16#53
roedoejet merged 4 commits intomasterfrom
dev.matrix-testing

Conversation

@joanise
Copy link
Copy Markdown
Member

@joanise joanise commented Nov 28, 2022

end-to-end-tests.yml doesn't pass with Node 18 at the moment, but it does with Node 14 and Node 16, two currently supported LTS versions, so we should test on those systematically in CI.

Ref: https://sass-lang.com/d/slash-div

Fixes this warning that we get when we run `npm start` and in CI:

    DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

    Recommendation: math.div($target, $context)

    More info and automated migrator: https://sass-lang.com/d/slash-div

       ╷
    35 │     @return $target / $context + 0em;
       │             ^^^^^^^^^^^^^^^^^^
       ╵
        src/scss/utilities/_functions.scss 35:13  em()
        src/scss/utilities/_extends.scss 14:20    @import
        src/scss/utilities/_index.scss 17:9       @import
        stdin 35:9                                root stylesheet
One rogue instance was killed about 6h on Node 18 by GitHub Actions
itself, but that's a lot of wasted resources!
The cypress-io test runs using Node 18 get stuck after launching the app
on localhost:3333 and never seem to get to proceed to actually running
the test suite. The logs like quite different with Node 14 or 16, where
things work fine.

See for example:
   https://github.com/ReadAlongs/Web-Component/actions/runs/3569070697
or https://github.com/ReadAlongs/Web-Component/actions/runs/3440162866

So I'm going to separate matrix testing from making things work with
Node 18.
@joanise joanise force-pushed the dev.matrix-testing branch from 1e7e030 to 819d6bc Compare December 8, 2022 17:24
@joanise joanise requested a review from dhdaines December 8, 2022 17:34
@roedoejet roedoejet self-requested a review January 3, 2023 20:48
@roedoejet roedoejet merged commit 145ac95 into master Jan 3, 2023
@roedoejet roedoejet deleted the dev.matrix-testing branch January 3, 2023 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants