Skip to content

Commit c7c78c9

Browse files
authored
add ci workflow: JS files are up to date (#188)
* add ci workflow: JS files are up to date * checkout test/ArrayTests.mjs
1 parent 67bc96f commit c7c78c9

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

.github/workflows/check-build.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Check JS Files
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
check:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v3
15+
- name: Use Node.js 19
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: 19
19+
- run: npm install
20+
- run: npm run build
21+
- name: JS Files Changed
22+
run: git diff --exit-code

test/ArrayTests.mjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ Test.run([
450450
Test.run([
451451
[
452452
"ArrayTests.res",
453-
109,
453+
112,
454454
20,
455455
39
456456
],
@@ -464,7 +464,7 @@ Test.run([
464464
Test.run([
465465
[
466466
"ArrayTests.res",
467-
110,
467+
113,
468468
20,
469469
34
470470
],

0 commit comments

Comments
 (0)