update deps #4303
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 deps | |
on: | |
schedule: | |
- cron: '0 5 * * 1' | |
jobs: | |
udpate-deps: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2.2.2 | |
with: | |
version: latest | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'pnpm' | |
- run: pnpm install --no-frozen-lockfile | |
- run: pnpm build | |
- run: pnpm test | |
- run: pnpm run update | |
- run: pnpm install --no-frozen-lockfile | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
token: ${{ secrets.REPO_ACCESS_TOKEN }} | |
commit-message: Update dependencies | |
title: '[Codependence] update dependencies' | |
body: | | |
## Dependency updates | |
Auto-generated by [codependence][1] using [create-pull-request][2] | |
[1]: https://github.com/yowainwright/build-lambda-layer | |
[2]: https://github.com/peter-evans/create-pull-request | |
branch: update-dependencies | |
labels: codependencies |