Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/shipjs-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
types:
- closed
jobs:
build:
release:
name: Release
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'releases/v')
Expand All @@ -19,6 +19,7 @@ jobs:
with:
node-version: 24
registry-url: "https://registry.npmjs.org"
cache: "pnpm"
- name: Setup pnpm and install dependencies
uses: pnpm/action-setup@v4
with:
Expand All @@ -27,7 +28,7 @@ jobs:
args: [--frozen-lockfile, --strict-peer-dependencies]
- run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git config --global user.name "github-actions[bot]"
- run: npx shipjs trigger
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
18 changes: 8 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,28 @@
name: "@prefabs.tech/react Test"
name: "Test suite"

on: push
on:
push

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20, 22, 24]
node-version: [20, 22, 24]
steps:
- uses: actions/checkout@v4
name: Use node ${{ matrix.node-version }}

- uses: actions/setup-node@v4
- name: Checkout
uses: actions/checkout@v4
- name: Use node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Setup pnpm and install dependencies
uses: pnpm/action-setup@v4
with:
run_install: |
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]

- name: Build packages
run: pnpm build

- name: Run tests
run: pnpm test
Loading