Bump @wordpress/scripts from 27.9.0 to 28.2.0 #128
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: Build | |
on: | |
pull_request_target: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Build and commit updated assets | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
with: | |
# Custom token to allow commits trigger other workflows. | |
token: ${{ secrets.REQUIRED_COM_REPO_ACCESS_PAT }} | |
ref: ${{ github.event.pull_request.head.ref }} | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
cache-dependency-path: 'package.json' | |
- name: Install Node.js dependencies | |
run: npm i | |
- name: Run build command | |
run: npm run build | |
- name: Commit updated assets files | |
uses: EndBug/add-and-commit@v9 | |
with: | |
message: "[auto] Update assets" | |
add: "assets" |