-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (46 loc) · 1.47 KB
/
pr-merge-queue.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: pr-merge-queue.yml
on:
workflow_dispatch:
merge_group:
pull_request:
jobs:
npm-test:
name: NPM test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a
with:
node-version-file: '.node-version'
- run: npm clean-install
- run: npx vitest run
type-check:
name: Type check with vue-tsc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a
with:
node-version-file: '.node-version'
- run: npm clean-install
- run: npx vue-tsc
npm-build-only:
name: Build with NPM
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a
with:
node-version-file: '.node-version'
- run: npm clean-install
- run: npm run build-only
npm-check-format:
name: Check formatting with prettier
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a
with:
node-version-file: '.node-version'
- run: npm clean-install
- run: npm run check-format