mirror of
https://github.com/ivuorinen/tree-sitter-shellspec.git
synced 2026-02-05 01:47:52 +00:00
chore(ci): update workflows
This commit is contained in:
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@@ -114,7 +114,7 @@ jobs:
|
||||
node-version: 24
|
||||
|
||||
- name: Cache Node.js dependencies
|
||||
uses: actions/cache@dfa6ed13c88fe79b56c4ffc79a42db2e8d2b15a5 # v4.2.0
|
||||
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
|
||||
with:
|
||||
path: ~/.npm
|
||||
key: ${{ runner.os }}-node-24-${{ hashFiles('**/package-lock.json') }}
|
||||
@@ -153,7 +153,7 @@ jobs:
|
||||
registry-url: "https://registry.npmjs.org"
|
||||
|
||||
- name: Cache Node.js dependencies
|
||||
uses: actions/cache@dfa6ed13c88fe79b56c4ffc79a42db2e8d2b15a5 # v4.2.0
|
||||
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
|
||||
with:
|
||||
path: ~/.npm
|
||||
key: ${{ runner.os }}-node-24-${{ hashFiles('**/package-lock.json') }}
|
||||
@@ -165,7 +165,7 @@ jobs:
|
||||
run: npm ci || { echo "❌ npm install failed"; npm install; }
|
||||
|
||||
- name: Cache Tree-sitter CLI
|
||||
uses: actions/cache@dfa6ed13c88fe79b56c4ffc79a42db2e8d2b15a5 # v4.2.0
|
||||
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
|
||||
with:
|
||||
path: ~/.npm/_npx
|
||||
key: ${{ runner.os }}-tree-sitter-cli-${{ hashFiles('package.json') }}
|
||||
@@ -174,7 +174,7 @@ jobs:
|
||||
run: npm install -g tree-sitter-cli
|
||||
|
||||
- name: Cache Generated Grammar
|
||||
uses: actions/cache@dfa6ed13c88fe79b56c4ffc79a42db2e8d2b15a5 # v4.2.0
|
||||
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
|
||||
id: cache-grammar
|
||||
with:
|
||||
path: |
|
||||
|
||||
Reference in New Issue
Block a user