mirror of
https://github.com/ivuorinen/tree-sitter-shellspec.git
synced 2026-02-02 09:46:52 +00:00
fix(ci): checkout before using local actions
This commit is contained in:
9
.github/actions/setup-dev/action.yml
vendored
9
.github/actions/setup-dev/action.yml
vendored
@@ -34,5 +34,10 @@ runs:
|
||||
run: npm ci || { echo "❌ npm install failed" && npm install }
|
||||
shell: bash
|
||||
|
||||
- name: Setup Tree-sitter Environment
|
||||
uses: ./.github/actions/setup-treesitter
|
||||
- name: Install Tree-sitter CLI
|
||||
run: npm install -g tree-sitter-cli
|
||||
shell: bash
|
||||
|
||||
- name: Generate Grammar
|
||||
run: npm run generate
|
||||
shell: bash
|
||||
|
||||
14
.github/actions/setup-treesitter/action.yml
vendored
14
.github/actions/setup-treesitter/action.yml
vendored
@@ -1,14 +0,0 @@
|
||||
---
|
||||
name: "Setup Tree-sitter Environment"
|
||||
description: "Installs Tree-sitter CLI and generates grammar"
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Install Tree-sitter CLI
|
||||
run: npm install -g tree-sitter-cli
|
||||
shell: bash
|
||||
|
||||
- name: Generate Grammar
|
||||
run: npm run generate
|
||||
shell: bash
|
||||
Reference in New Issue
Block a user