diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb17c44..0eb33b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v2 with: - node-version: 16 + node-version: 18 - run: npm install - run: npm test @@ -29,6 +29,6 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v2 with: - node-version: 16 + node-version: 18 - run: npm install - run: npm run-script test-windows diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index faeffaa..9471a7f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - run: npm install - run: npm test @@ -54,7 +54,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 registry-url: https://registry.npmjs.org/ - run: npm publish env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index acc2308..2b77c65 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - run: npm install - run: npm test diff --git a/package.json b/package.json index bd59844..257eae3 100644 --- a/package.json +++ b/package.json @@ -15,20 +15,21 @@ }, "homepage": "https://github.com/amaanq/tree-sitter-bicep#readme", "dependencies": { - "nan": "^2.15.0" + "nan": "^2.18.0" }, "devDependencies": { - "eslint": "^8.40.0", + "eslint": "^8.56.0", "eslint-config-google": "^0.14.0", - "tree-sitter-cli": "^0.20.8" + "tree-sitter-cli": "^0.20.8", + "node-gyp": "^10.0.1" }, "repository": "https://github.com/amaanq/tree-sitter-bicep", "scripts": { "build": "tree-sitter generate && node-gyp build", - "test": "tree-sitter test && script/parse-examples", + "lint": "eslint grammar.js", "parse": "tree-sitter parse", - "test-windows": "tree-sitter test", - "lint": "eslint grammar.js" + "test": "tree-sitter test && script/parse-examples", + "test-windows": "tree-sitter test" }, "tree-sitter": [ {