Skip to content

feat: dynamic product checkout buttons (MDK-403) #8

feat: dynamic product checkout buttons (MDK-403)

feat: dynamic product checkout buttons (MDK-403) #8

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- "**"
jobs:
lint-and-build:
runs-on: ubuntu-latest
strategy:
matrix:
example: [mdk-nextjs-demo]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: ${{ matrix.example }}/package-lock.json
- name: Install dependencies
run: npm ci
working-directory: ${{ matrix.example }}
- name: Lint
run: npm run lint
working-directory: ${{ matrix.example }}
- name: Build
run: npm run build
working-directory: ${{ matrix.example }}