Skip to content

Build command

Build command #234

Workflow file for this run

name: test
on: [pull_request] # CI should only run on pull requests
jobs:
test-rapid-ui:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/rapid-ui
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 19
- name: Install dependencies with pnpm
run: |
npm install -g pnpm
pnpm install
- name: Run vitest tests
run: pnpm run test
test-rapid-react:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/rapid-react
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 19
- name: Install dependencies with pnpm
run: |
npm install -g pnpm
pnpm install
- name: Run vitest tests
run: pnpm run test