Skip to content

Commit b0deccc

Browse files
authored
Fix benchmark (#1310)
1 parent cfd1e36 commit b0deccc

File tree

4 files changed

+46
-51
lines changed

4 files changed

+46
-51
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

3030
steps:
3131
- uses: actions/checkout@v2
32-
- name: Use Node.js 15.14.0
32+
- name: Use Node.js 16.14.0
3333
uses: actions/setup-node@v1
3434
with:
3535
node-version: 16.14.0
@@ -59,16 +59,30 @@ jobs:
5959
uses: actions/checkout@v2
6060
with:
6161
path: commit
62-
- name: Use Node.js 12.13.1
62+
- name: Use Node.js 16.14.0
6363
uses: actions/setup-node@v1
6464
with:
6565
node-version: 16.14.0
6666
# NPM
67-
- name: NPM master
68-
run: npm ci && npm run build
67+
# install and build master
68+
- name: npm ci master
69+
run: npm ci
6970
working-directory: master
70-
- name: NPM commit
71-
run: npm ci && npm run build
71+
- name: Use local tstl language extensions
72+
run: npm i lua-types@latest && npm i -D file:.
73+
working-directory: master
74+
- name: Build master
75+
run: npm run build
76+
working-directory: master
77+
# install and build commit
78+
- name: npm ci commit
79+
run: npm ci
80+
working-directory: commit
81+
- name: Use local tstl language extensions
82+
run: npm i -D file:.
83+
working-directory: commit
84+
- name: Build commit
85+
run: npm run build
7286
working-directory: commit
7387
# Benchmark directory setup
7488
- name: Ensure benchmark data dir exists

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
steps:
1313
- uses: actions/checkout@v2
14-
- name: Use Node.js 12.13.1
14+
- name: Use Node.js 16.14.0
1515
uses: actions/setup-node@v1
1616
with:
1717
node-version: 16.14.0

package-lock.json

Lines changed: 24 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"javascript-stringify": "^2.0.1",
6666
"jest": "^27.3.0",
6767
"jest-circus": "^27.3.0",
68-
"lua-types": "2.10.1",
68+
"lua-types": "^2.11.0",
6969
"lua-wasm-bindings": "^0.2.2",
7070
"prettier": "^2.3.2",
7171
"ts-jest": "^27.1.3",

0 commit comments

Comments
 (0)