Skip to content

Upgrade Node v20 (#607) #11

Upgrade Node v20 (#607)

Upgrade Node v20 (#607) #11

name: Build Checkout
on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- 'checkout-example/**'
pull_request:
branches: [ main ]
paths:
- 'checkout-example/**'
jobs:
build-checkout:
runs-on: ubuntu-latest
defaults:
run:
working-directory: 'checkout-example'
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: 'checkout-example'
- name: Build checkout-example
run: npm install