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"