Update dependency https://deno.land/x/lume to v2.5.0 #57
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: Update deno.lock | |
on: | |
push: | |
branches: | |
- "renovate/**" | |
workflow_dispatch: | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v2.x | |
- name: Configure Deno cache | |
uses: actions/cache@v4 | |
with: | |
path: ~/.cache/deno | |
key: deno-${{ hashFiles('deno.lock') }} | |
restore-keys: deno- | |
- name: Configure build cache | |
uses: actions/cache@v4 | |
with: | |
path: _cache | |
key: lume-${{ hashFiles('src/**', '_config.ts') }} | |
restore-keys: lume- | |
- name: Update lockfile | |
run: | | |
rm deno.lock | |
deno cache _config.ts | |
deno task serve & | |
timeout=60 | |
until curl -s http://localhost:4000/ > /dev/null; do | |
sleep 1; | |
((timeout--)) | |
if [ $timeout -le 0 ]; then | |
echo "Timeout waiting for server to start" | |
exit 1 | |
fi | |
done | |
- name: Commit changes | |
run: | | |
git config user.name "github-actions[bot]" | |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
git add . | |
git commit -m "Update deno.lock" | |
git push |