Skip to content

Commit

Permalink
chore: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
baurine committed Jun 28, 2024
1 parent 19590b9 commit 4c66e15
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ on:

jobs:
build_test:
if: github.event.pull_request.head.ref != 'test-published-packages'
runs-on: ubuntu-latest

steps:
- name: Checkout Repo
uses: actions/checkout@v4
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/test_published_packages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Test Published Packages

on:
push:
branches:
- test-published-packages

jobs:
build_test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4

- uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'

- name: Install Dependencies
run: pnpm i

- name: Build Package
run: pnpm build:playground
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"prepare": "husky",
"dev": "pnpm -r --parallel dev",
"build": "pnpm -r build",
"build:playground": "pnpm --filter @tidbcloud/tisqleditor-playground... run build",
"test": "jest",
"release": "changeset publish"
},
Expand Down

0 comments on commit 4c66e15

Please sign in to comment.