Skip to content

chore: set up esm test react project #2

chore: set up esm test react project

chore: set up esm test react project #2

Workflow file for this run

name: ESM Build Test
on: [pull_request]
jobs:
esm-build-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20, 22]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Setup npm cache
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm install
- name: Build Vite Test Project
run: npm run build -- --filter=@headstartwp/vite-react-test