mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-12-01 05:53:52 +03:00
41fae27637
* Use pnpm for running scripts instead of nx * Fix typos
32 lines
643 B
YAML
32 lines
643 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: pnpm/action-setup@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 'lts/*'
|
|
cache: 'pnpm'
|
|
- name: Install dependencies
|
|
run: pnpm install
|
|
- name: Check formatting
|
|
run: pnpm run format:check
|
|
- name: Build
|
|
run: pnpm run build:all
|
|
- name: Lint
|
|
run: pnpm run lint:all
|
|
- name: Test
|
|
uses: coactions/setup-xvfb@v1
|
|
with:
|
|
run: pnpm run test:all
|