add discount banner #934
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: NPM Build | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: "Checkout code" | |
uses: actions/checkout@v4 | |
- name: "Setup PHP (for Ziggy)" | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
extensions: intl, zip | |
coverage: none | |
- name: "Run composer install (for Ziggy)" | |
run: composer install -n --prefer-dist | |
- name: "Use Node.js" | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
- name: "Install npm dependencies" | |
run: npm ci | |
- name: "Build" | |
run: npm run build |