Skip to content

feat: add GTM classess #36

feat: add GTM classess

feat: add GTM classess #36

Workflow file for this run

name: Lighthouse CI
on:
push:
branches:
- 'main'
jobs:
lhci:
name: Lighthouse CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: 14
- name: Install dependencies and build
run: |
yarn install
yarn build
yarn global add @lhci/cli@0.8.x
- name: Run Lighthouse CI (mobile)
run: |
lhci autorun --config=./lighthouserc-mobile.yml
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
- name: Run Lighthouse CI (desktop)
run: |
lhci autorun --config=./lighthouserc-desktop.yml
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
- name: Create artifact
uses: actions/upload-artifact@v3
with:
name: build-result
path: ./dist