test drupal_cms interactive with some hacks #110
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: Web build | |
on: | |
workflow_call: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
web_build: | |
name: "Build artifact" | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
- uses: ./.github/actions/create-drupal-core-artifact | |
- run: cp drupal-core/drupal-core.zip tests/fixtures | |
- run: mv drupal-core tests/fixtures | |
- name: "Install Node" | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "22" | |
- run: npm ci | |
- run: npm run test | |
- run: npm run build | |
- name: Upload demo archive | |
uses: actions/upload-artifact@v4 | |
with: | |
name: demo | |
path: public |