Skip to content

Commit

Permalink
feat: added broswerlist auto update ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullahwaheed committed Sep 5, 2022
1 parent 96147b0 commit 9eada96
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/update-browserlist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Update Dependencies
on:
schedule:
- cron: '*/5 * * * *'
jobs:
update-dep:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16]
npm: [8.5.0]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- run: npm install -g npm@${{ matrix.npm }}
- run: make requirements
- name: Update dependencies
run: npx browserslist@latest --update-db
- name: Create Pull Request
uses: peter-evans/[email protected]
with:
token: ${{ secrets.TEST_AUTO_CREATE }}
commit-message: 'chore: update browserslist'
title: Update browserslist
body: |
- Dependency updates
Auto-generated by [create-pull-request][1]

[1]: https://github.com/peter-evans/create-pull-request
branch: update-browserslist

0 comments on commit 9eada96

Please sign in to comment.