Skip to content

feat: add OpenGraph / SEO support for single-field_type.js #107

feat: add OpenGraph / SEO support for single-field_type.js

feat: add OpenGraph / SEO support for single-field_type.js #107

Workflow file for this run

name: Build
on:
pull_request:
paths-ignore:
- '**/*.md'
jobs:
build:
name: Node ${{ matrix.node }}
runs-on: ubuntu-latest
strategy:
matrix:
node: ["16", "18"]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
~/.npm
node_modules
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Install and Build
env:
FAUST_SECRET_KEY: ${{secrets.FAUST_SECRET_KEY}}
NEXT_PUBLIC_WORDPRESS_URL: ${{secrets.NEXT_PUBLIC_WORDPRESS_URL}}
run: |
npm ci
npm run build
- name: Error handling
if: failure()
run: echo "Build failed!"