chore(deps-dev): bump the dependencies group with 2 updates #2947
Workflow file for this run
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: webpack-cli docs | |
on: | |
pull_request: | |
types: [labeled] | |
env: | |
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
update-docs: | |
name: Update docs | |
if: contains(github.event.pull_request.labels.*.name, 'update docs') | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node-version: [lts/*] | |
steps: | |
- name: Checkout Codebase | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
token: ${{ env.GITHUB_ACCESS_TOKEN }} | |
- name: Using Node v${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "yarn" | |
- name: Install dependencies | |
run: yarn --frozen-lockfile | |
- name: Install latest webpack and webpack-dev-server version | |
run: yarn add -W webpack-dev-server@latest webpack@latest | |
- name: Build | |
run: yarn build | |
- name: Update docs | |
run: yarn update:docs | |
- name: Fix formatting | |
run: yarn lint:prettier --write | |
- name: Commit updated docs | |
uses: EndBug/[email protected] | |
with: | |
add: "*.md" | |
message: "docs: update options" | |
author_name: Nitin Kumar | |
author_email: [email protected] |