Skip to content

fix: fix release script #149

fix: fix release script

fix: fix release script #149

Workflow file for this run

name: Node.js CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
# Test default react-scripts to compare time
test-react-scripts:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2
with:
version: 8.15.1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Compile create-react-app examples using react-scripts
run: |
pnpm run --filter "with-*" build-react-scripts
- name: Test create-react-app examples using react-scripts
run: |
pnpm run --filter "with-*" test-react-scripts
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2
with:
version: 8.15.1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Compile create-react-app examples using craco
run: |
pnpm run --filter "with-*" build
- name: Test create-react-app examples using craco
run: |
pnpm run --filter "with-*" test