Skip to content

Commit

Permalink
build: fix ci (#2051)
Browse files Browse the repository at this point in the history
  • Loading branch information
bd82 authored Oct 17, 2024
1 parent 4272462 commit d92045c
Show file tree
Hide file tree
Showing 13 changed files with 6,729 additions and 5,020 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ jobs:
strategy:
matrix:
node_version:
- 16.x
- 18.x
- 20.x
- 22.x
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}

- uses: pnpm/action-setup@v2.2.4
- uses: pnpm/action-setup@v4
with:
version: 8.6.5
version: 9.12.2

- name: Install dependencies
run: pnpm install
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- uses: pnpm/action-setup@v2.2.4
- uses: pnpm/action-setup@v4
with:
version: 8.6.5
version: 9.12.2
- name: Install dependencies
run: pnpm install
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion examples/grammars/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"dependencies": {
"acorn": "8.8.0",
"chevrotain": "11.0.3",
"chevrotain": "workspace:*",
"xregexp": "5.1.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/implementation_languages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"test": "mocha \"*spec.js\""
},
"dependencies": {
"chevrotain": "11.0.3"
"chevrotain": "workspace:*"
},
"devDependencies": {
"coffee-script": "^1.11.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/lexer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test": "mocha \"!(node_modules)/**/*spec.js\""
},
"dependencies": {
"chevrotain": "11.0.3",
"chevrotain": "workspace:*",
"lodash": "4.17.21"
},
"private": true
Expand Down
2 changes: 1 addition & 1 deletion examples/parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"bundle:diagrams": "esbuild ./diagrams/grammar.js --bundle --minify --format=esm --outfile=./diagrams/gen/grammar-bundled.min.mjs"
},
"dependencies": {
"chevrotain": "11.0.3",
"chevrotain": "workspace:*",
"lodash": "4.17.21"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test": "mocha \"step*/*spec.js\""
},
"dependencies": {
"chevrotain": "11.0.3",
"chevrotain": "workspace:*",
"lodash": "4.17.21"
},
"private": true
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"examples/*"
]
},
"engines": {
"pnpm": ">=7"
},
"packageManager": "[email protected]",
"scripts": {
"version": "pnpm install && git add pnpm-lock.yaml",
"preinstall": "npx only-allow pnpm",
Expand Down
10 changes: 5 additions & 5 deletions packages/chevrotain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@
"bundle:esm:min": "esbuild ./lib/src/api.js --bundle --minify --format=esm --sourcemap --outfile=lib/chevrotain.min.mjs"
},
"dependencies": {
"@chevrotain/cst-dts-gen": "11.0.3",
"@chevrotain/gast": "11.0.3",
"@chevrotain/regexp-to-ast": "11.0.3",
"@chevrotain/types": "11.0.3",
"@chevrotain/utils": "11.0.3",
"@chevrotain/cst-dts-gen": "workspace:*",
"@chevrotain/gast": "workspace:*",
"@chevrotain/regexp-to-ast": "workspace:*",
"@chevrotain/types": "workspace:*",
"@chevrotain/utils": "workspace:*",
"lodash-es": "4.17.21"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/cst-dts-gen-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
"coverage": "c8 mocha --enable-source-maps"
},
"dependencies": {
"@chevrotain/cst-dts-gen": "11.0.3",
"@chevrotain/gast": "11.0.3",
"@chevrotain/types": "11.0.3",
"chevrotain": "11.0.3",
"@chevrotain/cst-dts-gen": "workspace:*",
"@chevrotain/gast": "workspace:*",
"@chevrotain/types": "workspace:*",
"chevrotain": "workspace:*",
"lodash-es": "4.17.21"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/cst-dts-gen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"compile": "tsc"
},
"dependencies": {
"@chevrotain/gast": "11.0.3",
"@chevrotain/types": "11.0.3",
"@chevrotain/gast": "workspace:*",
"@chevrotain/types": "workspace:*",
"lodash-es": "4.17.21"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/gast/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"coverage": "c8 mocha --enable-source-maps"
},
"dependencies": {
"@chevrotain/types": "11.0.3",
"@chevrotain/types": "workspace:*",
"lodash-es": "4.17.21"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit d92045c

Please sign in to comment.