diff --git a/.github/workflows/update-browserlist.yml b/.github/workflows/update-browserlist.yml new file mode 100644 index 000000000..6a5a9d7c3 --- /dev/null +++ b/.github/workflows/update-browserlist.yml @@ -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/create-pull-request@v4.1.1 + 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