Bump wp-cli/wp-cli from 2.9.0 to 2.11.0 #243
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: CI (Grunt) | |
on: | |
push: | |
workflow_dispatch: | |
concurrency: | |
group: ci-grunt-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
NODE_VERSION: "18" | |
jobs: | |
build: | |
if: "!contains(github.event.head_commit.message, '[ci skip]')" | |
name: Run Grunt tasks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out source code | |
uses: actions/[email protected] | |
- name: Set up Node.js environment | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
caching: true | |
- name: Install dependencies | |
run: npm ci --ignore-scripts | |
- name: Run postinstall scripts | |
run: npm rebuild && npm run prepare --if-present | |
- name: Run build tasks | |
run: npm run build |