Skip to content

Commit 7780b02

Browse files
committed
fix ci
1 parent 2776b62 commit 7780b02

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
strategy:
77
matrix:
88
os: [ubuntu-16.04, ubuntu-18.04, windows-2016, windows-2019, macOS-10.14]
9-
node-version: [6, 8, 10, 12]
9+
node-version: [8.5.0, 8.x, 10.x, 12.x]
1010
steps:
1111
- uses: actions/setup-node@v1
1212
with:

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ centos:
5353
image: centos:7
5454
stage: test
5555
before_script:
56-
- yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
57-
- yum install -y make nodejs npm
56+
- yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm https://rpm.nodesource.com/pub_10.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm
57+
- yum install -y make nodejs
5858
- npm i -g yarn
5959
script:
6060
- make all

lua/lang.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
along with this program. If not, see <https://www.gnu.org/licenses/>.
1717
1818
*/
19-
const assert = require('assert').strict
19+
const assert = require('assert').strict || require('assert')
2020
const {luaconf, lua, lauxlib, lualib} = require('fengari')
2121
const fengari = require('fengari')
2222
const lua_interop = require('fengari-interop')

0 commit comments

Comments
 (0)