aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/check_query_files.yml
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2021-03-07 17:40:24 +0100
committerKiyan <yazdani.kiyan@protonmail.com>2021-03-16 18:52:43 +0100
commit626d1b9192032ee8355790d5eba5f96e2c94e793 (patch)
treea16caa333a17e0f5a3e2008d081ea2d1252fbf8e /.github/workflows/check_query_files.yml
parent[docgen] Update README.md (diff)
downloadnvim-treesitter-626d1b9192032ee8355790d5eba5f96e2c94e793.tar
nvim-treesitter-626d1b9192032ee8355790d5eba5f96e2c94e793.tar.gz
nvim-treesitter-626d1b9192032ee8355790d5eba5f96e2c94e793.tar.bz2
nvim-treesitter-626d1b9192032ee8355790d5eba5f96e2c94e793.tar.lz
nvim-treesitter-626d1b9192032ee8355790d5eba5f96e2c94e793.tar.xz
nvim-treesitter-626d1b9192032ee8355790d5eba5f96e2c94e793.tar.zst
nvim-treesitter-626d1b9192032ee8355790d5eba5f96e2c94e793.zip
CI CI CI
Diffstat (limited to '.github/workflows/check_query_files.yml')
-rw-r--r--.github/workflows/check_query_files.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/check_query_files.yml b/.github/workflows/check_query_files.yml
index d6298b6ee..b8de89de6 100644
--- a/.github/workflows/check_query_files.yml
+++ b/.github/workflows/check_query_files.yml
@@ -14,7 +14,11 @@ jobs:
sudo apt-get update
sudo add-apt-repository universe
sudo apt-get install -y npm
+ mkdir ~/.npm-global
+ npm config set prefix '~/.npm-global'
+ export PATH=~/.npm-global/bin:$PATH
npm i -g tree-sitter
+ sudo cp ~/.npm-global/bin/tree-sitter /usr/bin/
wget https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage
chmod u+x nvim.appimage
mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start