Skip to content

[TASK] update site-header module with the ability to display search r… #48

[TASK] update site-header module with the ability to display search r…

[TASK] update site-header module with the ability to display search r… #48

Workflow file for this run

name: Deploy theme to Hubspot
on:
push:
branches:
- master
jobs:
deploy-theme:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- run: npm ci
- name: Upload theme to CI account
env:
HUBSPOT_PORTAL_ID: ${{ secrets.HUBSPOT_CI_PORTAL_ID }}
HUBSPOT_PERSONAL_ACCESS_KEY: ${{ secrets.HUBSPOT_CI_PERSONAL_ACCESS_KEY }}
run: npm run cleanUpload
- name: Marketplace validation
env:
HUBSPOT_PORTAL_ID: ${{ secrets.HUBSPOT_CI_PORTAL_ID }}
HUBSPOT_PERSONAL_ACCESS_KEY: ${{ secrets.HUBSPOT_CI_PERSONAL_ACCESS_KEY }}
run: npm run validate
- name: Lighthouse test
env:
HUBSPOT_PORTAL_ID: ${{ secrets.HUBSPOT_CI_PORTAL_ID }}
HUBSPOT_PERSONAL_ACCESS_KEY: ${{ secrets.HUBSPOT_CI_PERSONAL_ACCESS_KEY }}
run: npm run lighthouse
- name: Upload to production account
env:
HUBSPOT_PORTAL_ID: ${{ secrets.HUBSPOT_PORTAL_ID }}
HUBSPOT_PERSONAL_ACCESS_KEY: ${{ secrets.HUBSPOT_PERSONAL_ACCESS_KEY }}
run: npm run upload
- name: PKG versions
run: |
node -v
npm -v