[BUGFIX] change min occurrence of components in card and image card m… #15
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: Validate theme | |
on: | |
pull_request: | |
types: [opened, reopened] | |
jobs: | |
validate: | |
name: Validate theme | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js v${{ matrix.node }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
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 upload -- --themeConfirm=true | |
- 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 -- --themeConfirm=true | |
- 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 -- --themeConfirm=true | |
- name: PKG versions | |
run: | | |
node -v | |
npm -v |