diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ef186a3..4205e6b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,6 +12,8 @@ jobs: - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" + - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." + - name: Check out repository code uses: actions/checkout@v4 @@ -21,16 +23,16 @@ jobs: with: node-version: '22' - - run: npm ci + - run: npm clean-install + + # We use a patched version for local development, so only need to install this for use + # during the workflow. + - run: npm install tree-sitter-cli - run: npm run build - run: npm run test - # - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - - # - run: echo "🖥️ The workflow is now ready to test your code on the runner." - # - name: List files in the repository # run: | # ls ${{ github.workspace }} diff --git a/package-lock.json b/package-lock.json index a95d0d4..8e2f1f7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,8 +15,7 @@ }, "devDependencies": { "node-gyp": "11.0.0", - "prebuildify": "6.0.1", - "tree-sitter-cli": "^0.24.6" + "prebuildify": "6.0.1" }, "peerDependencies": { "tree-sitter": "0.22.4" @@ -1381,20 +1380,6 @@ "node-gyp-build": "^4.8.4" } }, - "node_modules/tree-sitter-cli": { - "version": "0.24.6", - "resolved": "https://registry.npmjs.org/tree-sitter-cli/-/tree-sitter-cli-0.24.6.tgz", - "integrity": "sha512-FJ9B1XwXt8Auq75NK/6bpeci7avXSk73OMDq4elXHPS4ue11ZFeCrH/anVN/u5BAZjWqFO9nWGLNEdpdZOg+eA==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "bin": { - "tree-sitter": "cli.js" - }, - "engines": { - "node": ">=12.0.0" - } - }, "node_modules/unique-filename": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-4.0.0.tgz", diff --git a/package.json b/package.json index 16f3550..5158b89 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,6 @@ }, "devDependencies": { "node-gyp": "11.0.0", - "prebuildify": "6.0.1", - "tree-sitter-cli": "0.24.6" + "prebuildify": "6.0.1" } }