-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (36 loc) · 1.11 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
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@8f9cc178b6e843639351e0bd5d638e5fd0a8dec7
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@8f9cc178b6e843639351e0bd5d638e5fd0a8dec7
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@8f9cc178b6e843639351e0bd5d638e5fd0a8dec7
with:
node-version-file: '.node-version'
- run: npm clean-install
- run: npm run build-only