mirror of
https://github.com/astral-sh/setup-uv.git
synced 2026-04-28 14:38:52 +00:00
Use commit hashes and node-version-file for actions
This commit is contained in:
parent
c9184974da
commit
01e092d495
1 changed files with 5 additions and 5 deletions
10
.github/workflows/dependabot-build.yml
vendored
10
.github/workflows/dependabot-build.yml
vendored
|
|
@ -13,15 +13,15 @@ jobs:
|
||||||
if: github.actor == 'dependabot[bot]'
|
if: github.actor == 'dependabot[bot]'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout PR branch
|
- name: Checkout PR branch
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.head_ref }}
|
ref: ${{ github.head_ref }}
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v4
|
||||||
with:
|
with:
|
||||||
node-version: "20"
|
node-version-file: .nvmrc
|
||||||
cache: "npm"
|
cache: npm
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
@ -30,7 +30,7 @@ jobs:
|
||||||
run: npm run all
|
run: npm run all
|
||||||
|
|
||||||
- name: Commit built dist
|
- name: Commit built dist
|
||||||
uses: stefanzweifel/git-auto-commit-action@v5
|
uses: stefanzweifel/git-auto-commit-action@b863ae1933cb653a53c021fe36dbb774e1fb9403 # v5
|
||||||
with:
|
with:
|
||||||
commit_message: "Build dist for Dependabot update"
|
commit_message: "Build dist for Dependabot update"
|
||||||
file_pattern: dist/
|
file_pattern: dist/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue