33 lines
785 B
YAML
33 lines
785 B
YAML
name: Update Deno Lock
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
paths: ["deno.json"]
|
|
|
|
jobs:
|
|
deno-lock:
|
|
name: Update Deno lock
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
|
|
with:
|
|
ref: ${{ github.event.pull_request.head.ref }}
|
|
|
|
- name: Setup Deno
|
|
uses: denoland/setup-deno@v2
|
|
with:
|
|
deno-version: v2.3.5
|
|
cache: true
|
|
|
|
- name: Regenerate Deno lock
|
|
run: deno cache **/*.ts --lock=deno.lock
|
|
|
|
- name: Commit & push changes
|
|
uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9
|
|
with:
|
|
message: "chore: regenerate `deno.lock`"
|
|
default_author: github_actions
|
|
push: true
|