Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/auto-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Auto NPM Update

# Controls when the workflow will run
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *" # Runs every day at midnight

jobs:
update:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/[email protected]
with:
node-version: 18
- name: Update dependencies
run: npm upgrade
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
title: "Auto NPM Update"
body: "This PR was created automatically by the Auto NPM Update workflow."
signoff: true
commit-message: "Update dependencies via `npm upgrade`."
branch: "create-pull-request/auto-npm-update"
branch-suffix: "timestamp"
labels: "auto-npm-update,dependencies,javascript"
delete-branch: true
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

strategy:
matrix:
node: ["17"]
node: ["17", "18"]

name: Node ${{ matrix.node }} lint

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

strategy:
matrix:
node: ["17"]
node: ["17", "18"]

name: Node ${{ matrix.node }} build
# Steps represent a sequence of tasks that will be executed as part of the job
Expand Down