Skip to content

Commit 40f1f30

Browse files
committedNov 23, 2023
ci: split type check into separate test
1 parent 90ffd81 commit 40f1f30

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
 

‎.github/workflows/test.yml

+26
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,32 @@ jobs:
8080

8181
- name: lint
8282
run: yarn test:lint
83+
needs: setup
84+
85+
typecheck:
86+
runs-on: ${{ matrix.os }}
87+
88+
strategy:
89+
matrix:
90+
os: [ubuntu-latest]
91+
92+
steps:
93+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
94+
- run: corepack enable
95+
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
96+
with:
97+
node-version: 18
98+
cache: "yarn"
99+
100+
- name: restore workspace cache
101+
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
102+
with:
103+
path: |
104+
node_modules
105+
packages/*/node_modules
106+
distributions/*/node_modules
107+
packages/*/dist
108+
key: ${{ matrix.os }}-node-v18-nuxt-${{ github.sha }}
83109

84110
- name: test types
85111
run: yarn test:types

0 commit comments

Comments
 (0)
Please sign in to comment.