Skip to content

feat: migrate create command to standalone package #96

feat: migrate create command to standalone package

feat: migrate create command to standalone package #96

Workflow file for this run

name: CI
on:
push:
branches:
- master
paths-ignore:
- 'examples/**'
- 'scripts/**'
- 'docs/**'
- '**/*.md'
pull_request:
types:
- 'opened'
- 'synchronize'
jobs:
test:
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node_version: [18, 20]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
# - name: Get pnpm store directory
# shell: bash
# run: |
# echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
# - uses: actions/cache@v3
# name: Setup pnpm cache
# with:
# path: ${{ env.STORE_PATH }}
# key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
# restore-keys: |
# ${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: |
pnpm i
pnpm playwright install chromium
- name: Run CI
run: pnpm run ci