Skip to content

Commit 50ce9da

Browse files
authored
Merge pull request #881 from ScorexFoundation/v5.0.8-RC
Release candidate v5.0.8
2 parents 5360cf4 + 4efe077 commit 50ce9da

File tree

444 files changed

+7908
-2629
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

444 files changed

+7908
-2629
lines changed

.github/workflows/ci.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,55 @@ jobs:
6666
env:
6767
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
6868
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
69+
70+
buildJs:
71+
name: JS - Test and publish a snapshot
72+
env:
73+
HAS_SECRETS: ${{ secrets.SONATYPE_PASSWORD != '' }}
74+
strategy:
75+
matrix:
76+
os: [ubuntu-latest]
77+
scala: [2.12.10]
78+
79+
node-version: [16.x]
80+
runs-on: ${{ matrix.os }}
81+
steps:
82+
- name: Checkout current branch (full)
83+
uses: actions/checkout@v2
84+
with:
85+
fetch-depth: 0
86+
87+
- name: Setup NPM
88+
uses: pnpm/action-setup@v2
89+
with:
90+
version: 7.21.0
91+
node-version: ${{ matrix.node-version }}
92+
cache: "pnpm"
93+
- run: pnpm install --prefix sigma-js
94+
95+
- name: Setup Java and Scala
96+
uses: olafurpg/setup-scala@v10
97+
with:
98+
java-version: ${{ matrix.java }}
99+
100+
- name: Cache sbt
101+
uses: actions/cache@v2
102+
with:
103+
path: |
104+
~/.sbt
105+
~/.ivy2/cache
106+
~/.coursier/cache/v1
107+
~/.cache/coursier/v1
108+
~/AppData/Local/Coursier/Cache/v1
109+
~/Library/Caches/Coursier/v1
110+
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
111+
112+
- name: Runs tests and collect coverage
113+
run: sbt -jvm-opts ci/ci.jvmopts ++${{ matrix.scala }} commonJS/test corelibJS/test interpreterJS/test
114+
115+
- name: Publish a snapshot ${{ github.ref }}
116+
if: env.HAS_SECRETS == 'true'
117+
run: sbt ++${{ matrix.scala }} sdkJS/publish
118+
env:
119+
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
120+
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
docs/spec/out/
1313
test-out/
1414
flamegraphs/
15+
node_modules/
16+
package-lock.json
17+
sigma-js/.npmrc
18+
sigma-js/dist/
19+
1520
# sbt specific
1621
.cache
1722
.lib/

0 commit comments

Comments
 (0)