32 lines
677 B
YAML
32 lines
677 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@v4
|
|
with:
|
|
ref: ${{ github.event.pull_request.head.ref }}
|
|
|
|
- name: Setup Deno
|
|
uses: nekowinston/setup-deno@main
|
|
with:
|
|
deno-version: v1.x
|
|
|
|
- name: Regenerate Deno lock
|
|
run: deno cache --reload **/*.ts --lock-write
|
|
|
|
- name: Commit & Push
|
|
uses: EndBug/add-and-commit@v9
|
|
with:
|
|
message: "chore: regenerate `deno.lock`"
|
|
default_author: github_actions
|
|
push: true
|