Dependencies #98
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dependencies | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
udd: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # master | |
- uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31 # v1.1.2 | |
with: | |
deno-version: 1.35.0 | |
- uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0 | |
with: | |
node-version-file: 'web/.node-version' | |
cache: 'npm' | |
cache-dependency-path: 'web/package-lock.json' | |
- uses: extractions/setup-just@69d82fb0233557aec017ef13706851d0694e0f1d # v1.6.0 | |
with: | |
just-version: '1.14.0' | |
- name: Update dependencies | |
run: just update-deps | |
- name: Remove lockfile | |
run: rm -f deno.lock | |
- name: Run full ci (will recreate lockfile) | |
run: just ci | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5.0.2 | |
with: | |
commit-message: ":arrow_up: Update Dependencies" | |
title: Update Deno Dependencies | |
body: > | |
Dependencies updates using [deno-udd](https://github.com/hayd/deno-udd). | |
branch: update-deno-dependencies | |
author: GitHub <[email protected]> | |
delete-branch: true |