Skip to content

Commit

Permalink
chore: upgrade dependencies & build lys-compiler in CI (#87)
Browse files Browse the repository at this point in the history
* upgrade dependencies

* remove extra file

* reduce compilation time, remove flawed wabt dependency

* update golden file

* build lys-compiler on CI

* build lys-compiler on CI

* build lys-compiler on CI

* build lys-compiler on CI
  • Loading branch information
menduz authored Jan 24, 2025
1 parent 4942aa9 commit 2157e77
Show file tree
Hide file tree
Showing 95 changed files with 7,618 additions and 8,117 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,29 @@ jobs:
run: npm install
- name: make test
run: make test

lys-compiler:
name: lys-compiler build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Use Node.js 22.x
uses: actions/setup-node@v1
with:
node-version: 22.x
- name: npm install
run: npm install
- name: make build
run: make build
- name: Checkout lys-compiler
uses: actions/checkout@v4
with:
repository: lys-lang/lys-compiler
path: lys-compiler
- name: Build and test lys-compiler
working-directory: ./lys-compiler
run: |
make build LYS=../dist/bin.js
lint:
runs-on: ubuntu-latest
steps:
Expand Down
214 changes: 126 additions & 88 deletions package-lock.json

Large diffs are not rendered by default.

15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"types": "dist/index.d.ts",
"bin": {
"lys": "dist/bin.js"
},
Expand All @@ -27,18 +28,18 @@
"printWidth": 120
},
"dependencies": {
"@webassemblyjs/ast": "1.11.1",
"@webassemblyjs/wast-printer": "1.11.1",
"@webassemblyjs/ast": "^1.14.1",
"@webassemblyjs/wast-printer": "^1.14.1",
"arg": "^4.1.3",
"binaryen": "^100.0.0",
"binaryen": "^121.0.0",
"ebnf": "^1.9.0",
"wabt": "^1.0.30"
"wabt": "^1.0.36"
},
"devDependencies": {
"@types/git-rev-sync": "^1.12.0",
"@types/glob": "^7.1.3",
"@types/mocha": "^10.0.0",
"@types/node": "^16.18.2",
"@types/node": "^22.10.9",
"@types/node-fetch": "^2.5.7",
"@types/semver": "^6.2.1",
"expect": "^29.2.2",
Expand All @@ -49,8 +50,8 @@
"node-fetch": "^2.6.0",
"nyc": "^15.1.0",
"semver": "^6.3.0",
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
"ts-node": "^10.9.2",
"typescript": "^5.7.3"
},
"files": [
"LICENSE",
Expand Down
Loading

0 comments on commit 2157e77

Please sign in to comment.