This repository was archived by the owner on Jul 30, 2024. It is now read-only.
File tree 6 files changed +32
-44
lines changed 6 files changed +32
-44
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+ on : [pull_request]
3
+ jobs :
4
+ ci :
5
+ runs-on : ubuntu-latest
6
+ strategy :
7
+ fail-fast : false
8
+ matrix :
9
+ scala : [2.13.3, 2.12.12]
10
+ nodejs : [14.15.1, 12.19.1, 10.23.0]
11
+ steps :
12
+ - uses : actions/checkout@v2
13
+ - uses : olafurpg/setup-scala@v10
14
+ with :
15
+
16
+ - uses : coursier/cache-action@v5
17
+ - uses : actions/setup-node@v1
18
+ with :
19
+ node-version : ${{ matrix.nodejs }}
20
+ - run : npm install
21
+ - name : Run Tests
22
+ run : sbt ++${{ matrix.scala }} test
23
+ env :
24
+ NODEJS_VERSION : ${{ matrix.nodejs }}
Original file line number Diff line number Diff line change 6
6
strategy :
7
7
fail-fast : false
8
8
steps :
9
- - uses : actions/checkout@v1
10
- - uses : olafurpg/setup-scala@v5
9
+ - uses : actions/checkout@v2
10
+ - uses : olafurpg/setup-scala@v10
11
11
- name : Check Scalafmt/Scaladoc
12
- run : sbt ++2.13.3 scalafmtSbtCheck scalafmtCheck test:scalafmtCheck nodejs_v14/doc core/doc
12
+ run : sbt scalafmtSbtCheck scalafmtCheck test:scalafmtCheck nodejs_v14/doc core/doc
13
13
- name : Install NPM deps
14
14
run : npm install
15
15
- name : Check README
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ pull_request_rules:
2
2
- name : Automatic merge on approval
3
3
conditions :
4
4
- " author=scala-steward"
5
- - " status-success=Travis CI - Pull Request "
5
+ - " status-success=CI "
6
6
- " status-success=format"
7
7
actions :
8
8
merge :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
organization in ThisBuild := " net.exoego"
2
+ crossScalaVersions in ThisBuild := Seq (" 2.13.3" , " 2.12.12" )
2
3
3
4
lazy val root = {
4
5
val p = (project in file(" ." ))
@@ -9,9 +10,9 @@ lazy val root = {
9
10
.settings(
10
11
name := " scala-js-nodejs"
11
12
)
12
- val travisNodeVersion = Option (System .getenv(" TRAVIS_NODE_VERSION " )).filter(_.nonEmpty).getOrElse(" " )
13
- if (travisNodeVersion .startsWith(" 10." )) p.aggregate(nodejs_v10)
14
- else if (travisNodeVersion .startsWith(" 12." )) p.aggregate(nodejs_v10, nodejs_v12)
13
+ val nodejsVersion = Option (System .getenv(" NODEJS_VERSION " )).filter(_.nonEmpty).getOrElse(" " )
14
+ if (nodejsVersion .startsWith(" 10." )) p.aggregate(nodejs_v10)
15
+ else if (nodejsVersion .startsWith(" 12." )) p.aggregate(nodejs_v10, nodejs_v12)
15
16
else p.aggregate(nodejs_v10, nodejs_v12, nodejs_v14)
16
17
}
17
18
Original file line number Diff line number Diff line change @@ -4,4 +4,3 @@ addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.5")
4
4
addSbtPlugin(" com.github.gseitz" % " sbt-release" % " 1.0.13" )
5
5
addSbtPlugin(" com.jsuereth" % " sbt-pgp" % " 2.0.1" )
6
6
addSbtPlugin(" org.scoverage" % " sbt-scoverage" % " 1.6.1" )
7
- addSbtPlugin(" com.dwijnand" % " sbt-travisci" % " 1.2.0" )
You can’t perform that action at this time.
0 commit comments