mirror of
https://github.com/ivuorinen/tree-sitter-shellspec.git
synced 2026-02-20 21:54:40 +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
|
node-version: 24
|
||||||
|
|
||||||
- name: Cache Node.js dependencies
|
- name: Cache Node.js dependencies
|
||||||
uses: actions/cache@dfa6ed13c88fe79b56c4ffc79a42db2e8d2b15a5 # v4.2.0
|
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
|
||||||
with:
|
with:
|
||||||
path: ~/.npm
|
path: ~/.npm
|
||||||
key: ${{ runner.os }}-node-24-${{ hashFiles('**/package-lock.json') }}
|
key: ${{ runner.os }}-node-24-${{ hashFiles('**/package-lock.json') }}
|
||||||
@@ -153,7 +153,7 @@ jobs:
|
|||||||
registry-url: "https://registry.npmjs.org"
|
registry-url: "https://registry.npmjs.org"
|
||||||
|
|
||||||
- name: Cache Node.js dependencies
|
- name: Cache Node.js dependencies
|
||||||
uses: actions/cache@dfa6ed13c88fe79b56c4ffc79a42db2e8d2b15a5 # v4.2.0
|
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
|
||||||
with:
|
with:
|
||||||
path: ~/.npm
|
path: ~/.npm
|
||||||
key: ${{ runner.os }}-node-24-${{ hashFiles('**/package-lock.json') }}
|
key: ${{ runner.os }}-node-24-${{ hashFiles('**/package-lock.json') }}
|
||||||
@@ -165,7 +165,7 @@ jobs:
|
|||||||
run: npm ci || { echo "❌ npm install failed"; npm install; }
|
run: npm ci || { echo "❌ npm install failed"; npm install; }
|
||||||
|
|
||||||
- name: Cache Tree-sitter CLI
|
- name: Cache Tree-sitter CLI
|
||||||
uses: actions/cache@dfa6ed13c88fe79b56c4ffc79a42db2e8d2b15a5 # v4.2.0
|
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
|
||||||
with:
|
with:
|
||||||
path: ~/.npm/_npx
|
path: ~/.npm/_npx
|
||||||
key: ${{ runner.os }}-tree-sitter-cli-${{ hashFiles('package.json') }}
|
key: ${{ runner.os }}-tree-sitter-cli-${{ hashFiles('package.json') }}
|
||||||
@@ -174,7 +174,7 @@ jobs:
|
|||||||
run: npm install -g tree-sitter-cli
|
run: npm install -g tree-sitter-cli
|
||||||
|
|
||||||
- name: Cache Generated Grammar
|
- name: Cache Generated Grammar
|
||||||
uses: actions/cache@dfa6ed13c88fe79b56c4ffc79a42db2e8d2b15a5 # v4.2.0
|
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
|
||||||
id: cache-grammar
|
id: cache-grammar
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
|
|||||||
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
@@ -36,7 +36,7 @@ jobs:
|
|||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
- name: Cache Node.js dependencies
|
- name: Cache Node.js dependencies
|
||||||
uses: actions/cache@dfa6ed13c88fe79b56c4ffc79a42db2e8d2b15a5 # v4.2.0
|
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
|
||||||
id: cache-npm
|
id: cache-npm
|
||||||
with:
|
with:
|
||||||
path: ~/.npm
|
path: ~/.npm
|
||||||
@@ -50,7 +50,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Cache Tree-sitter CLI
|
- name: Cache Tree-sitter CLI
|
||||||
uses: actions/cache@dfa6ed13c88fe79b56c4ffc79a42db2e8d2b15a5 # v4.2.0
|
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
|
||||||
id: cache-tree-sitter
|
id: cache-tree-sitter
|
||||||
with:
|
with:
|
||||||
path: ~/.npm/_npx
|
path: ~/.npm/_npx
|
||||||
@@ -61,7 +61,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Cache Generated Grammar
|
- name: Cache Generated Grammar
|
||||||
uses: actions/cache@dfa6ed13c88fe79b56c4ffc79a42db2e8d2b15a5 # v4.2.0
|
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
|
||||||
id: cache-grammar
|
id: cache-grammar
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
@@ -76,7 +76,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Cache Built Parser
|
- name: Cache Built Parser
|
||||||
uses: actions/cache@dfa6ed13c88fe79b56c4ffc79a42db2e8d2b15a5 # v4.2.0
|
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
|
||||||
id: cache-parser
|
id: cache-parser
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
@@ -150,7 +150,7 @@ jobs:
|
|||||||
node-version: 24
|
node-version: 24
|
||||||
|
|
||||||
- name: Cache Node.js dependencies
|
- name: Cache Node.js dependencies
|
||||||
uses: actions/cache@dfa6ed13c88fe79b56c4ffc79a42db2e8d2b15a5 # v4.2.0
|
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
|
||||||
with:
|
with:
|
||||||
path: ~/.npm
|
path: ~/.npm
|
||||||
key: ${{ runner.os }}-node-24-${{ hashFiles('**/package-lock.json') }}
|
key: ${{ runner.os }}-node-24-${{ hashFiles('**/package-lock.json') }}
|
||||||
@@ -181,7 +181,7 @@ jobs:
|
|||||||
node-version: 24
|
node-version: 24
|
||||||
|
|
||||||
- name: Cache Node.js dependencies
|
- name: Cache Node.js dependencies
|
||||||
uses: actions/cache@dfa6ed13c88fe79b56c4ffc79a42db2e8d2b15a5 # v4.2.0
|
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
|
||||||
with:
|
with:
|
||||||
path: ~/.npm
|
path: ~/.npm
|
||||||
key: ${{ runner.os }}-node-24-${{ hashFiles('**/package-lock.json') }}
|
key: ${{ runner.os }}-node-24-${{ hashFiles('**/package-lock.json') }}
|
||||||
|
|||||||
Reference in New Issue
Block a user