-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Attempt to publish js snapshots * Added a ci release command for scala-js, here goes nothing! * Moved the release command into its own phase * Fixed the release.yaml * Added unit testing for scala-js * Removed branch release
- Loading branch information
Showing
3 changed files
with
74 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,6 +70,61 @@ jobs: | |
#if: needs.check-duplicate.outputs.should_skip != 'true' | ||
run: sbt ++$SCALA_VERSION doc | ||
|
||
# This is largely temporary, we'll find a better way to do this... | ||
validate-js: | ||
name: Scala-JS ${{ matrix.scala }}, Node ${{ matrix.node }} | ||
runs-on: ubuntu-20.04 | ||
needs: check-duplicate | ||
|
||
env: | ||
SCALA_VERSION: ${{ matrix.scala }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
node: [14, 15] | ||
scala: [2.12.13, 2.13.5] | ||
|
||
steps: | ||
- name: Checkout repository | ||
#if: needs.check-duplicate.outputs.should_skip != 'true' | ||
uses: actions/[email protected] | ||
|
||
- name: Setup Node | ||
#if: needs.check-duplicate.outputs.should_skip != 'true' | ||
uses: actions/[email protected] | ||
with: | ||
node-version: ${{ matrix.node }} | ||
|
||
- name: Setup Scala | ||
#if: needs.check-duplicate.outputs.should_skip != 'true' | ||
uses: olafurpg/setup-scala@v10 | ||
with: | ||
java-version: [email protected] | ||
|
||
- name: Cache Coursier | ||
#if: needs.check-duplicate.outputs.should_skip != 'true' | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.cache/coursier | ||
key: sbt-coursier-cache | ||
|
||
- name: Cache SBT | ||
#if: needs.check-duplicate.outputs.should_skip != 'true' | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.sbt | ||
key: sbt-${{ hashFiles('**/build.sbt') }} | ||
|
||
- name: Test | ||
#if: needs.check-duplicate.outputs.should_skip != 'true' | ||
run: sbt ++$SCALA_VERSION parsleyJS/test | ||
|
||
- name: Scaladoc | ||
#if: needs.check-duplicate.outputs.should_skip != 'true' | ||
run: sbt ++$SCALA_VERSION parsleyJS/doc | ||
# End attrocity | ||
|
||
coverage: | ||
name: Test Coverage | ||
runs-on: ubuntu-20.04 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters