Skip to content

Commit

Permalink
Use newer version of Node in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nafg committed Dec 14, 2023
1 parent 62a4cd2 commit 6281fd1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
3 changes: 2 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ lazy val materialUiCore =
emotionNpmDeps,
reactDocGenRepoUrl := materialUiGitUrl,
reactDocGenRepoRef := ("v" + materialUiCoreVersion),
Compile / sourceGenerators += generateReactDocGenFacades("packages/mui-material/src", "@mui/material", "mui")
Compile / sourceGenerators += generateReactDocGenFacades("packages/mui-material/src", "@mui/material", "mui"),
sourceGenerators / fileInputs += (ThisBuild / baseDirectory).value.toGlob / "overrides.yml",
)

lazy val materialUiLab =
Expand Down
18 changes: 9 additions & 9 deletions ci.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,24 @@ mergifyExtraConditions := Seq(
)

inThisBuild(List(
homepage := Some(url("https://github.com/nafg/scalajs-facades")),
licenses := List("Apache-2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0")),
developers := List(
homepage := Some(url("https://github.com/nafg/scalajs-facades")),
licenses := List("Apache-2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0")),
developers := List(
Developer("nafg", "Naftoli Gugenheim", "[email protected]", url("https://github.com/nafg"))
),
dynverGitDescribeOutput ~= (_.map(o => o.copy(dirtySuffix = GitDirtySuffix("")))),
dynverSonatypeSnapshots := true,
versionScheme := Some("early-semver"),
dynverSonatypeSnapshots := true,
versionScheme := Some("early-semver"),
githubWorkflowJobSetup +=
WorkflowStep.Use(UseRef.Public("actions", "setup-node", "v2"), params = Map("node-version" -> "12")),
WorkflowStep.Use(UseRef.Public("actions", "setup-node", "v4"), params = Map("node-version" -> "18")),
githubWorkflowTargetTags ++= Seq("v*"),
githubWorkflowPublishTargetBranches := Seq(RefPredicate.StartsWith(Ref.Tag("v"))),
githubWorkflowPublish := Seq(
githubWorkflowPublish := Seq(
WorkflowStep.Sbt(
List("ci-release"),
env = Map(
"PGP_PASSPHRASE" -> "${{ secrets.PGP_PASSPHRASE }}",
"PGP_SECRET" -> "${{ secrets.PGP_SECRET }}",
"PGP_PASSPHRASE" -> "${{ secrets.PGP_PASSPHRASE }}",
"PGP_SECRET" -> "${{ secrets.PGP_SECRET }}",
"SONATYPE_PASSWORD" -> "${{ secrets.SONATYPE_PASSWORD }}",
"SONATYPE_USERNAME" -> "${{ secrets.SONATYPE_USERNAME }}"
)
Expand Down

0 comments on commit 6281fd1

Please sign in to comment.