Skip to content

Commit

Permalink
Update demo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
17359898647 authored Feb 21, 2024
1 parent 529e8e7 commit 3b1e9fc
Showing 1 changed file with 13 additions and 17 deletions.
30 changes: 13 additions & 17 deletions .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: Demo
on:
push:
branches:
- main
- master
- next

pull_request:
branches:
- main
- master
- next

merge_group: {}
Expand Down Expand Up @@ -64,18 +64,14 @@ jobs:
- name: Install
run: nci

- name: Build
run: nr build

- name: Typecheck
run: nr typecheck

- name: Test Vue 3
run: pnpm run test:3

- name: Test Vue 2
run: pnpm run test:2

- if: matrix.node == '18.x'
name: Playground Smoke Test
run: cd playgrounds && bash ./build.sh
- name: Check QA Pass label
if: |
! (
contains(github.event.pull_request.labels.*.name, 'QA Passed') ||
contains(github.event.pull_request.labels.*.name, 'QA Pass expected')
)
run: |
echo "Needs 'QA passed' label for all except revert, test or chore PRs."
echo "chore PR is reserved for changes that don't change production."
echo "QA should check refactor or gated feature don't alter behavior."
exit 1;

0 comments on commit 3b1e9fc

Please sign in to comment.