Skip to content

Commit

Permalink
Update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ceifa committed Oct 29, 2023
1 parent 6785315 commit 111e9e6
Show file tree
Hide file tree
Showing 11 changed files with 1,673 additions and 725 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@
}
],
"@typescript-eslint/interface-name-prefix": "off",
"@typescript-eslint/no-redundant-type-constituents": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/no-parameter-properties": "off",
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: mymindstorm/setup-emsdk@v12
- name: Use Node.js 18.x
uses: actions/setup-node@v3
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 20.x
- run: npm ci
- run: npm run lint:nofix
- run: npm run build:wasm
- run: npm run build
- run: npm test
- run: npm run luatests
- uses: JS-DevTools/npm-publish@v1
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ jobs:

strategy:
matrix:
node-version: [16, 18]
node-version: [16, 18, 20]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: mymindstorm/setup-emsdk@v12
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ module.exports = {
child_process: false,
crypto: false,
url: false,
module: false
module: false,
},
},
}
Expand Down
4 changes: 4 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ emcc \
'stringToUTF8', \
'stringToNewUTF8'
]" \
-s INCOMING_MODULE_JS_API="[
'locateFile', \
'preRun'
]" \
-s STRICT_JS=0 \
-s MODULARIZE=1 \
-s ALLOW_TABLE_GROWTH=1 \
Expand Down
Loading

0 comments on commit 111e9e6

Please sign in to comment.