1
0
mirror of https://github.com/robonen/tools.git synced 2026-03-20 02:44:45 +00:00

ci(repo): update ci pipeline (#48)

* ci(repo): update ci pipeline

* ci(repo): remove pnpm version from ci

* ci(repo): make build and test single command

* ci(repo): remove matrix tests
This commit is contained in:
2024-11-05 02:18:27 +07:00
committed by GitHub
parent 0c87de4573
commit bdc8fab071

View File

@@ -3,27 +3,31 @@ name: CI
on:
- pull_request
jobs:
test:
runs-on: ubuntu-latest
env:
NODE_VERSION: 22.x
jobs:
code-quality:
name: Code quality checks
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install pnpm
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@v4
with:
run_install: false
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Test
run: pnpm run all:build && pnpm run all:test
run: pnpm all:build && pnpm all:test