Update copy and remove HTML form embedding from ConvertKit #35
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: Build project and run Lighthouse CI | |
on: [push] | |
jobs: | |
lhci: | |
name: Lighthouse CI | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 17.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 17 | |
cache: 'npm' | |
- name: Caching Gatsby | |
id: gatsby-cache-build | |
uses: actions/cache@v3 | |
with: | |
path: | | |
public | |
.cache | |
key: ${{ runner.os }}-gatsby-build-${{ github.run_id }} | |
restore-keys: | | |
${{ runner.os }}-gatsby-build- | |
- name: npm install | |
run: | | |
npm install --legacy-peer-deps | |
- name: npm run build | |
run: | | |
npm run build | |
env: | |
GATSBY_EXPERIMENTAL_PAGE_BUILD_ON_DATA_CHANGES: true | |
CI: true | |
- name: run Lighthouse CI | |
run: | | |
npm install -g @lhci/cli@0.12.x | |
lhci autorun --upload.githubToken="$LHCI_GITHUB_TOKEN" || echo "LHCI failed!" | |
env: | |
LHCI_TOKEN: ${{ secrets.LHCI_TOKEN }} | |
LHCI_GITHUB_TOKEN: ${{ secrets.LHCI_GITHUB_TOKEN }} |