From 89ea45ed541f8cdf878ea65a5a3d39609397192a Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Mon, 13 Nov 2023 23:07:11 -0500 Subject: [PATCH] Add update deps job --- .github/workflows/update-deps.yml | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/update-deps.yml diff --git a/.github/workflows/update-deps.yml b/.github/workflows/update-deps.yml new file mode 100644 index 00000000..ac1446a9 --- /dev/null +++ b/.github/workflows/update-deps.yml @@ -0,0 +1,33 @@ +name: Update Dependencies + +on: + schedule: + - cron: "0 0 * * 6" + workflow_dispatch: {} + +jobs: + update_deps: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Use Node.js 18.x + uses: actions/setup-node@v3 + with: + node-version: 18.x + cache: "npm" + + - name: Install dependencies + run: npm ci + + - name: Update dependencies + run: npm run update-deps + + - name: Create Pull Request + uses: peter-evans/create-pull-request@v5 + with: + commit-message: "Update dependencies" + branch: shore/update-deps + title: "Update dependencies" + body: "Update dependencies"