Update examples #16
This file contains hidden or 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 examples" | |
| on: | |
| schedule: | |
| - cron: "0 0 * * 0" | |
| permissions: | |
| contents: read | |
| jobs: | |
| examples: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pull-requests: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: lts/* | |
| cache: "yarn" | |
| - run: yarn --frozen-lockfile | |
| - run: yarn link --frozen-lockfile || true | |
| - run: yarn link webpack --frozen-lockfile | |
| - run: yarn build:examples | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v7 | |
| with: | |
| token: ${{ secrets.PAT }} | |
| delete-branch: true | |
| commit-message: | | |
| docs: update examples | |
| title: | | |
| docs: update examples | |
| body: | | |
| Update examples. | |
| This PR was autogenerated. | |
| branch: update-examples |